Junglewise Threat Intelligence

CVE-2024-50045: Linux Kernel NULL pointer dereference in br_netfilter

CVE-2024-50045 · Severity: medium · CVSS 5.5 · Published 2024-10-21

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's networking component can cause a system crash (kernel panic). This occurs when the system processes specific types of network traffic through a virtualized network bridge (VxLAN). An attacker or a specific network configuration could trigger this to disrupt service availability.

Technical details

A NULL pointer dereference exists in the br_netfilter module of the Linux kernel. The issue occurs in br_nf_dev_queue_xmit when processing untagged frames larger than the VxLAN MTU. When such frames are forwarded to a VxLAN bridge port, br_handle_egress_vlan_tunnel changes the socket buffer destination (skb_dst) to a metadata type. Subsequent calls to ip_skb_dst_mtu attempt to access this destination as a valid device pointer, resulting in a crash. The fix involves dropping these unsupported packets instead of attempting fragmentation. Patch availability is confirmed across multiple stable kernel branches.

Affected products

  • Linux Linux Kernel 6.8.0-rc3-g5b3fbd61b9d1 and earlier versions

Timeline

  • 2024-10-21: advisory: CVE published in NVD
  • 2024-10-17: patched: Fix committed to stable kernel tree

References

Related threats