Linux
netrom: fix double-free in nr_route_frame()
In the Linux kernel, the following vulnerability has been resolved: netrom: fix double-free in nr_route_frame() In nr_route_frame(), old_skb is immediately freed without checking if nr_neigh->ax25 pointer is NULL. Therefore, if nr_neigh->ax25 is NULL, the caller function will free old_skb again, causing a double-free bug. Therefore, to prevent this, we need to modify it to check whether nr_neigh->ax25 is NULL before freeing old_skb.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 25aab6bfc31017a7e52035b99aef5c2b6bde8ffb
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6e0110ea90313b7c0558a0b77038274a6821caf8
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7c48fdf2d1349bb54815b56fb012b9d577707708
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bd8955337e3764f912f49b360e176d8aaecf7016
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 94d1a8bd08af1f4cc345c5c29f5db1ea72b8bb8c
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9f5fa78d9980fe75a69835521627ab7943cb3d67
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ba1096c315283ee3292765f6aea4cca15816c4f7
Fixed in 25aab6bfc31017a7e52035b99aef5c2b6bde8ffb, 6e0110ea90313b7c0558a0b77038274a6821caf8, 7c48fdf2d1349bb54815b56fb012b9d577707708, bd8955337e3764f912f49b360e176d8aaecf7016, 94d1a8bd08af1f4cc345c5c29f5db1ea72b8bb8c, 9f5fa78d9980fe75a69835521627ab7943cb3d67, ba1096c315283ee3292765f6aea4cca15816c4f7
- 2.6.12
Fixed in 0, 5.10.249, 5.15.199, 6.1.162, 6.6.122, 6.12.68, 6.18.8, 6.19
Mitigation
Upgrade Linux to 25aab6bfc31017a7e52035b99aef5c2b6bde8ffb or 6e0110ea90313b7c0558a0b77038274a6821caf8 or 7c48fdf2d1349bb54815b56fb012b9d577707708 or bd8955337e3764f912f49b360e176d8aaecf7016 or 94d1a8bd08af1f4cc345c5c29f5db1ea72b8bb8c or 9f5fa78d9980fe75a69835521627ab7943cb3d67 or ba1096c315283ee3292765f6aea4cca15816c4f7 or later.
Upgrade Linux to 0 or 5.10.249 or 5.15.199 or 6.1.162 or 6.6.122 or 6.12.68 or 6.18.8 or 6.19 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.