What’s Vulnerable › Vulnerabilities
CVE-2026-46098: net: caif: clear client service pointer on teardown
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-27 · updated 2026-06-25
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: net: caif: clear client service pointer on teardown `caif_connect()` can tear down an existing client after remote shutdown by calling `caif_disconnect_client()` followed by `caif_free_client()`. `caif_free_client()` releases the service layer referenced by `adap_layer->dn`, but leaves that pointer stale. When the socket is later destroyed, `caif_sock_destructor()` calls `caif_free_client()` again and dereferences the freed service pointer. Clear the client/service links before releasing the service object so repeated teardown becomes harmless.
Affected products
- Linux kernel: from 3.0 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.140; from 6.7 before 6.12.86; from 6.13 before 6.18.27 — fixed in 5.10.258, 5.15.209, 6.1.175, 6.12.86, 6.18.27, 6.6.140
How to fix
Upgrade to a fixed version: Linux kernel 5.10.258, 5.15.209, 6.1.175, 6.12.86. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/3ac6db584d9d420267bb8413115707eeec76d9cf
- https://git.kernel.org/stable/c/63d21a3aa0108b9dde4e99b0d3d5d679ac68c0f9
- https://git.kernel.org/stable/c/7ef97d4675b05a103648bd9244d91dff7d8c08b0
- https://git.kernel.org/stable/c/914c6456fcfc21a3d553945dff62fd1621d6155d
- https://git.kernel.org/stable/c/a4b191ddc12c55ddb62feb096536f819f384d6f1
- https://git.kernel.org/stable/c/cffca7a18b8f9de7c3d3013a1f5740c412b2a501
- https://git.kernel.org/stable/c/e16859f3f4426fa349bc5519d582a93d28f5a15d
- https://git.kernel.org/stable/c/f7cf8ece8cee3c1ee361991470cdb1eb65ab02e8
Get alerted when CVE-2026-46098 or the next vulnerability affects your stack