Skip to content
Not rated

CVE-2026-43216 In the Linux kernel, the following vulnerability has been resolved: net: Drop the lock in skb_may_tx_timestamp()…

Description

In the Linux kernel, the following vulnerability has been resolved: net: Drop the lock in skb_may_tx_timestamp() skb_may_tx_timestamp() may acquire sock::sk_callback_lock. The lock must not be taken in IRQ context, only softirq is okay. A few drivers receive the timestamp via a dedicated interrupt and complete the TX timestamp from that handler. This will lead to a deadlock if the lock is already write-locked on the same CPU. Taking the lock can be avoided. The socket (pointed by the skb) will remain valid until the skb is released. The ->sk_socket and ->file member will be set to NULL once the user closes the socket which may happen before the timestamp arrives. If we happen to observe the pointer while the socket is closing but before the pointer is set to NULL then we may use it because both pointer (and the file's cred member) are RCU freed. Drop the lock. Use READ_ONCE() to obtain the individual pointer. Add a matching WRITE_ONCE() where the pointer are cleared.

Affected products and versions

Product Affected versions Fixed in
Linux 7.0 earliest → < 7.0 7.0
Linux 6.19 earliest → < 6.19.6 6.19.6
Linux 6.18 earliest → < 6.18.16 6.18.16
Linux 6.12 earliest → < 6.12.95 6.12.95
Linux 6.6 earliest → < 6.6.145 6.6.145
Linux 6.1 earliest → < 6.1.178 6.1.178
Linux 5.15 earliest → < 5.15.212 5.15.212
Linux 5.10 earliest → < 5.10.261 5.10.261
Linux 4.0 No fix stated
Show the 3 other branches
Product Affected versions Fixed in
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.7 → latest No fix stated
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 3.1.7 → latest No fix stated
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.7 → latest No fix stated

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE