ipv6: add NULL checks for idev in SRv6 paths
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.258, 5.15.209, 6.1.175, 6.6.136, 6.12.83, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: ipv6: add NULL checks for idev in SRv6 paths __in6_dev_get() can return NULL when the device has no IPv6 configuration (e.g. MTU < IPV6_MIN_MTU or after NETDEV_UNREGISTER). Add NULL checks for idev returned by __in6_dev_get() in both seg6_hmac_validate_skb() and ipv6_srh_rcv() to prevent potential NULL pointer dereferences.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 1ababeba4a21f3dba3da3523c670b207fb2feb62 · fixed in 0348fa0ada37cef7c6b5ab2a428bb2c6aee784e4; From 1ababeba4a21f3dba3da3523c670b207fb2feb62 · fixed in 83d705d35e583cb1b1eacf196dfe7b77d442018e; From 1ababeba4a21f3dba3da3523c670b207fb2feb62 · fixed in d1bd8b9edc6752d10f84d28ff64f842401ce336d; From 1ababeba4a21f3dba3da3523c670b207fb2feb62 · fixed in 50352fc103928e10e8729abc79a0d05abef26c4d; From 1ababeba4a21f3dba3da3523c670b207fb2feb62 · fixed in bc9843c39f9932a8b36efd1d362ea00bb88e4e78; From 1ababeba4a21f3dba3da3523c670b207fb2feb62 · fixed in c5cedee5d97382176573bbe21e1724e737a5eb64; From 1ababeba4a21f3dba3da3523c670b207fb2feb62 · fixed in a25853c9feea7bbf31d157ff6e004d2d3b4f7f13; From 1ababeba4a21f3dba3da3523c670b207fb2feb62 · fixed in 06413793526251870e20402c39930804f14d59c0
- Linux Linux
4.10
- KernelLinux
From 4.10.0 · fixed in 5.10.258; From 5.11.0 · fixed in 5.15.209; From 5.16.0 · fixed in 6.1.175; From 6.2.0 · fixed in 6.6.136; From 6.7.0 · fixed in 6.12.83; From 6.13.0 · fixed in 6.18.25; From 6.19.0 · fixed in 6.19.10
References 8
git.kernel.org
- stable/c/0348fa0ada37cef7c6b5ab2a428bb2c6aee784e4
- stable/c/83d705d35e583cb1b1eacf196dfe7b77d442018e
- stable/c/d1bd8b9edc6752d10f84d28ff64f842401ce336d
- stable/c/50352fc103928e10e8729abc79a0d05abef26c4d
- stable/c/bc9843c39f9932a8b36efd1d362ea00bb88e4e78
- stable/c/c5cedee5d97382176573bbe21e1724e737a5eb64
- stable/c/a25853c9feea7bbf31d157ff6e004d2d3b4f7f13
- stable/c/06413793526251870e20402c39930804f14d59c0