CVE-2022-50073

net: tap: NULL pointer derefence in dev_parse_header_protocol when skb->dev is null

References

Notes

 carnil> Introduced in 924a9bc362a5 ("net: check if protocol extracted by
 carnil> virtio_net_hdr_set_proto is correct"). Vulnerable versions: 4.14.226 4.19.181
 carnil> 5.4.106 5.10.24 5.11.7 5.12.

Bugs

Status

Branch Status
upstream released (6.0-rc1) [4f61f133f354853bc394ec7d6028adb9b02dd701]
6.18-upstream-stable N/A "Fixed before branching point"
6.17-upstream-stable N/A "Fixed before branching point"
6.15-upstream-stable N/A "Fixed before branching point"
6.14-upstream-stable N/A "Fixed before branching point"
6.12-upstream-stable N/A "Fixed before branching point"
6.6-upstream-stable N/A "Fixed before branching point"
6.1-upstream-stable N/A "Fixed before branching point"
5.10-upstream-stable needed
sid released (5.19.6-1)
6.12-trixie-security N/A "Fixed before branching point"
6.1-bookworm-security N/A "Fixed before branching point"
5.10-bullseye-security needed