Linux
ax25: properly unshare skbs in ax25_kiss_rcv()
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 42b46684e2c78ee052d8c2ee8d9c2089233c9094
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5b079be1b9da49ad88fc304c874d4be7085f7883
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2bd0f67212908243ce88e35bf69fa77155b47b14
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 01a2984cb803f2d487b7074f9718db2bf3531f69
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7d449b7a6c8ee434d10a483feed7c5c50108cf56
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 89064cf534bea4bb28c83fe6bbb26657b19dd5fe
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b1c71d674a308d2fbc83efcf88bfc4217a86aa17
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8156210d36a43e76372312c87eb5ea3dbb405a85
Fixed in 42b46684e2c78ee052d8c2ee8d9c2089233c9094, 5b079be1b9da49ad88fc304c874d4be7085f7883, 2bd0f67212908243ce88e35bf69fa77155b47b14, 01a2984cb803f2d487b7074f9718db2bf3531f69, 7d449b7a6c8ee434d10a483feed7c5c50108cf56, 89064cf534bea4bb28c83fe6bbb26657b19dd5fe, b1c71d674a308d2fbc83efcf88bfc4217a86aa17, 8156210d36a43e76372312c87eb5ea3dbb405a85
- 2.6.12
Fixed in 0, 5.4.299, 5.10.243, 5.15.192, 6.1.151, 6.6.105, 6.12.46, 6.16.6, 6.17
Mitigation
Upgrade Linux to 42b46684e2c78ee052d8c2ee8d9c2089233c9094 or 5b079be1b9da49ad88fc304c874d4be7085f7883 or 2bd0f67212908243ce88e35bf69fa77155b47b14 or 01a2984cb803f2d487b7074f9718db2bf3531f69 or 7d449b7a6c8ee434d10a483feed7c5c50108cf56 or 89064cf534bea4bb28c83fe6bbb26657b19dd5fe or b1c71d674a308d2fbc83efcf88bfc4217a86aa17 or 8156210d36a43e76372312c87eb5ea3dbb405a85 or later.
Upgrade Linux to 0 or 5.4.299 or 5.10.243 or 5.15.192 or 6.1.151 or 6.6.105 or 6.12.46 or 6.16.6 or 6.17 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.