Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 25aab6bfc31017a7e52035b99aef5c2b6bde8ffbaffected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 6e0110ea90313b7c0558a0b77038274a6821caf8affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7c48fdf2d1349bb54815b56fb012b9d577707708affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bd8955337e3764f912f49b360e176d8aaecf7016affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 94d1a8bd08af1f4cc345c5c29f5db1ea72b8bb8caffected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 9f5fa78d9980fe75a69835521627ab7943cb3d67affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < ba1096c315283ee3292765f6aea4cca15816c4f7affected
Linux Linux
Default version status: affected
2.6.12affected0 to < 2.6.12unaffected5.10.249 to ≤ 5.10.*unaffected5.15.199 to ≤ 5.15.*unaffected6.1.162 to ≤ 6.1.*unaffected6.6.122 to ≤ 6.6.*unaffected6.12.68 to ≤ 6.12.*unaffected6.18.8 to ≤ 6.18.*unaffected6.19 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/25aab6bfc31017a7e52035b99aef5c2b6bde8ffb ↗
- https://git.kernel.org/stable/c/6e0110ea90313b7c0558a0b77038274a6821caf8 ↗
- https://git.kernel.org/stable/c/7c48fdf2d1349bb54815b56fb012b9d577707708 ↗
- https://git.kernel.org/stable/c/bd8955337e3764f912f49b360e176d8aaecf7016 ↗
- https://git.kernel.org/stable/c/94d1a8bd08af1f4cc345c5c29f5db1ea72b8bb8c ↗
- https://git.kernel.org/stable/c/9f5fa78d9980fe75a69835521627ab7943cb3d67 ↗
- https://git.kernel.org/stable/c/ba1096c315283ee3292765f6aea4cca15816c4f7 ↗