Vulnerability in Linux
CVE-2025-39848
In the Linux kernel, the following vulnerability has been resolved:
ax25: properly unshare skbs in ax25_kiss_rcv()
Bernard Pidoux reported a regression apparently caused by commit
c353e8983e0d ("net: introduce per netns packet chains").
skb->dev becomes NULL and we crash in __netif_receive_skb_core().
Before above commit, different kind of bugs or corruptions could happen
without a major crash.
But the root cause is that ax25_kiss_rcv() can queue/mangle input skb
without checking if this skb is shared or not.
Many thanks to Bernard Pidoux for his help, diagnosis and tests.
We had a similar issue years ago fixed with commit 7aaed57c5c28
("phonet: properly unshare skbs in phonet_rcv()").
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 15.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 2.6.12, 0
- Linux Kernel — versions 2.6.12, 6.17
- Debian Linux — versions 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/42b46684e2c78ee052d8c2ee8d9c2089233c9094 (Patch)
- git.kernel.org/stable/c/5b079be1b9da49ad88fc304c874d4be7085f7883 (Patch)
- git.kernel.org/stable/c/2bd0f67212908243ce88e35bf69fa77155b47b14 (Patch)
- git.kernel.org/stable/c/01a2984cb803f2d487b7074f9718db2bf3531f69 (Patch)
- git.kernel.org/stable/c/7d449b7a6c8ee434d10a483feed7c5c50108cf56 (Patch)
- git.kernel.org/stable/c/89064cf534bea4bb28c83fe6bbb26657b19dd5fe (Patch)
- git.kernel.org/stable/c/b1c71d674a308d2fbc83efcf88bfc4217a86aa17 (Patch)
- git.kernel.org/stable/c/8156210d36a43e76372312c87eb5ea3dbb405a85 (Patch)
- lists.debian.org/debian-lts-announce/2025/10/msg00007.html (Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html (Mailing List, Third Party Advisory)