CVE-2026-43216

net: Drop the lock in skb_may_tx_timestamp()

State
Published
Severity
Not scored
Published
May 6, 2026
Updated
Oct 15, 2026
Reserved
May 1, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b245be1f4db1a0394e4b6eb66059814b46670ac3 to before 4839cbda8f13e99ce2bb3b593f5cc3288415684bAffected
  • b245be1f4db1a0394e4b6eb66059814b46670ac3 to before 3709d73ace37e9aaebb688f5a5cf706d74350b64Affected
  • b245be1f4db1a0394e4b6eb66059814b46670ac3 to before cf7599116c4c0082fd25cb1bf0254631da0ed06eAffected
  • b245be1f4db1a0394e4b6eb66059814b46670ac3 to before cd2463ec60f0d6e460078037c86f9d0947ee1ff6Affected
  • b245be1f4db1a0394e4b6eb66059814b46670ac3 to before c770217044d9cbe16a1f7c385cf080ed06a2fc04Affected
  • b245be1f4db1a0394e4b6eb66059814b46670ac3 to before f3e4cceafad27c9363c33622732f86722846ec6fAffected
  • b245be1f4db1a0394e4b6eb66059814b46670ac3 to before e4c6efb3b70ff87f1df99efce2f8893717695718Affected
  • b245be1f4db1a0394e4b6eb66059814b46670ac3 to before 983512f3a87fd8dc4c94dfa6b596b6e57df5aad7Affected
LinuxLinux
  • 4.0Affected
  • before 4.0Not 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.95 through 6.12.*Not affected
  • 6.18.16 through 6.18.*Not affected
  • 6.19.6 through 6.19.*Not affected
  • 7.0 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.