ipv6: defrag: orphan skb before queuing

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

ipv6: defrag: orphan skb before queuing

IPv4 and nf_conntrack fragment queues orphan skbs before returning -EINPROGRESS, but ip6_frag_queue() leaves the socket association intact.

Commit 18685451fc4e ("inet: inet_defrag: prevent sk release while still in use") moved skb_orphan() into ip_frag_queue() and nf_ct_frag6_queue(), but missed ip6_frag_queue().

Without orphaning, inet_frag_reasm_finish() clears fp->sk on frag_list skbs but leaves fp->destructor set to sock_pfree. Freeing the reassembled skb then calls sock_pfree() with a NULL socket. A socket using SOCK_RCU_FREE may also be released while its fragment is queued, leaving a stale socket pointer; this is a second consequence of the same missing orphan.

Orphan the skb before returning -EINPROGRESS so the queued fragment no longer retains the socket association or destructor.

ProductVersions
Linux Linuxcf7fbe660f2dbd738ab58aea8e9b0ca6ad232449 to before 251df6622a1cf010f3a27deed4d7f5c5e7f33895 Affectedcf7fbe660f2dbd738ab58aea8e9b0ca6ad232449 to before 99119a8957b5572352c6d9f79e77b913d1dbd837 Affectedcf7fbe660f2dbd738ab58aea8e9b0ca6ad232449 to before b9909df42e08f743a29be0a4d852df17ecff9cb3 Affectedcf7fbe660f2dbd738ab58aea8e9b0ca6ad232449 to before 90f2e0e7c21c2c3b6a3d680dd6e2cf9969779e18 Affectedcf7fbe660f2dbd738ab58aea8e9b0ca6ad232449 to before 81a43a0e3057804a032e5b7b64e21e742645b788 Affectedcf7fbe660f2dbd738ab58aea8e9b0ca6ad232449 to before 6f511bbaa33b903b1ca360a8e97eb735e3dad25d Affectedcf7fbe660f2dbd738ab58aea8e9b0ca6ad232449 to before 230fc648e85bea394e6b7b7e12102308438f82f4 Affectedcf7fbe660f2dbd738ab58aea8e9b0ca6ad232449 to before 5dfa91a5ec53cfbf907a1fca095ac3ac7a4e94c9 Affected
Linux Linux5.7 Affectedbefore 5.7 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.