CVE-2026-74255

tipc: fix UAF in tipc_l2_send_msg()

State
Published
Severity
9.8 Critical
Published
Aug 15, 2026
Updated
Oct 16, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

tipc: fix UAF in tipc_l2_send_msg()

Syzbot reported a slab-use-after-free in ipvlan_hard_header() when called from tipc_l2_send_msg().

The root cause is that tipc_disable_l2_media() calls synchronize_net() while b->media_ptr is still valid. This allows concurrent RCU readers to obtain the device pointer after synchronize_net() has finished. The pointer is cleared later in bearer_disable(), but without any subsequent synchronization, allowing the device to be freed while still in use by readers.

Fix this by clearing b->media_ptr in tipc_disable_l2_media() before calling synchronize_net().

This is safe to do now because the call order in bearer_disable() was reversed in 0d051bf93c06 ("tipc: make bearer packet filtering generic") to call tipc_node_delete_links() (which needs the pointer) before disable_media().

https: //lore.kernel.org/netdev/6a2c1007.428ffe26.258b27.015d.GAE@google.com/T/#u

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 282b3a056225b35024246f63feb91d769d714dad to before 609ced2301be1df7e7ed2ef47d1d916674e6ba3bAffected
  • 282b3a056225b35024246f63feb91d769d714dad to before 71aafa16d79b107b33837f60b6cbc7d0cb8c5708Affected
  • 282b3a056225b35024246f63feb91d769d714dad to before f4002f1c669cc02e3763f479fc25ff1dfa9e2420Affected
  • 282b3a056225b35024246f63feb91d769d714dad to before 50ff092633b06382e5091dd5b093ce943d4ac2f9Affected
  • 282b3a056225b35024246f63feb91d769d714dad to before aef12b5ce793dea6b3a97a58fd0f946000ae8945Affected
  • 282b3a056225b35024246f63feb91d769d714dad to before 0d8a12d7143126afdf9fbe2e3d438650dd6603edAffected
  • 282b3a056225b35024246f63feb91d769d714dad to before 35e0297a93c3c34a3924eeef816c03504e3ab5c5Affected
  • 282b3a056225b35024246f63feb91d769d714dad to before f4c3d89fc986b0da196ddfc6cfe0ea5d5d08bec6Affected
LinuxLinux
  • 4.4Affected
  • before 4.4Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.