Local system crash via mismatched socket family
Published Jul 3, 2025 · Updated May 11, 2026
NULL pointer dereference in the Linux kernel allows local users to crash the system by connecting an IPv4 socket to an IPv6 address. netlbl_conn_setattr() trusts the user-supplied sockaddr family without confirming that it matches the socket, then sends an IPv4 socket into CALIPSO IPv6 handling and dereferences a missing ipv6_pinfo. A local account able to invoke connect() is required; exploitation causes a kernel oops and can panic or reboot the host when panic-on-oops behavior is enabled.
Summary
What happened
NULL pointer dereference in the Linux kernel allows local users to crash the system by connecting an IPv4 socket to an IPv6 address. netlbl_conn_setattr() trusts the user-supplied sockaddr family without confirming that it matches the socket, then sends an IPv4 socket into CALIPSO IPv6 handling and dereferences a missing ipv6_pinfo. A local account able to invoke connect() is required; exploitation causes a kernel oops and can panic or reboot the host when panic-on-oops behavior is enabled.
The record
- CVE
- CVE-2025-38147
- Published
- Jul 3, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 3, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.8
- Affected versionversion=ceba1832b1b2da0149c51de62a847c00bca1677a <0c813dbc851dbf418fdc6dc883fd0592d6c555cd
- Affected versionversion=ceba1832b1b2da0149c51de62a847c00bca1677a <26ce90f1ce60b0ff587de8d6aec399aa55cab28e
- Affected versionversion=ceba1832b1b2da0149c51de62a847c00bca1677a <6e9f2df1c550ead7cecb3e450af1105735020c92
- Affected versionversion=ceba1832b1b2da0149c51de62a847c00bca1677a <946bfdfcb76ac2bac5b8526447035885ff41c598
- Affected versionversion=ceba1832b1b2da0149c51de62a847c00bca1677a <c32ebe33626335a536dbbdd09571c06dd9bc1729
- Affected versionversion=ceba1832b1b2da0149c51de62a847c00bca1677a <dd8928897594931d6912ef2f7a43e110b4958d3d
- Affected versionversion=ceba1832b1b2da0149c51de62a847c00bca1677a <e2ec310c7a50271843c585e27ef14e48c66ce649
- Affected versionversion=ceba1832b1b2da0149c51de62a847c00bca1677a <fc2da88411470480b8b7e9177e930cedd893cf56
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo