8.8high
ax25: properly unshare skbs in ax25_kiss_rcv()
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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()").
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 42b46684e2c78ee052d8c2ee8d9c2089233c9094, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5b079be1b9da49ad88fc304c874d4be7085f7883, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2bd0f67212908243ce88e35bf69fa77155b47b14, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 01a2984cb803f2d487b7074f9718db2bf3531f69, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7d449b7a6c8ee434d10a483feed7c5c50108cf56, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 89064cf534bea4bb28c83fe6bbb26657b19dd5fe, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b1c71d674a308d2fbc83efcf88bfc4217a86aa17, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8156210d36a43e76372312c87eb5ea3dbb405a85 and 1 more Not affected: before 2.6.12, from 5.4.299 up to 5.4.*, from 5.10.243 up to 5.10.*, from 5.15.192 up to 5.15.*, from 6.1.151 up to 6.1.*, from 6.6.105 up to 6.6.* | CVE List |
| linux linux_kernel | from 2.6.12.1 before 5.4.299, from 5.5 before 5.10.243, from 5.11 before 5.15.192, from 5.16 before 6.1.151, from 6.2 before 6.6.105, from 6.7 before 6.12.46, from 6.13 before 6.16.6, 2.6.12 and 1 more | NVD |
| debian debian_linux | 11.0 | NVD |
All scores
| Linux | 8.8high CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
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()").
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ax25: descompartir correctamente los skbs en ax25_kiss_rcv() Bernard Pidoux informó de una regresión aparentemente causada por el commit c353e8983e0d ('net: introduce per netns packet chains'). skb->dev se vuelve NULL y nos caemos en __netif_receive_skb_core(). Antes del commit anterior, diferentes tipos de errores o corrupciones podían ocurrir sin un bloqueo importante. Pero la causa raíz es que ax25_kiss_rcv() puede encolar/manipular el skb de entrada sin verificar si este skb está compartido o no. Muchas gracias a Bernard Pidoux por su ayuda, diagnóstico y pruebas. Tuvimos un problema similar hace años solucionado con el commit 7aaed57c5c28 ('phonet: properly unshare skbs in phonet_rcv()').
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-39848 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-39848 changed 2026-10-19 | Public domain |