{"id":78920,"date":"2026-05-27T14:46:24","date_gmt":"2026-05-27T11:16:24","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-45846-bareudp-fix-null-pointer-dereference-in-bareudp_fill_metadata_dst\/"},"modified":"2026-05-27T14:46:24","modified_gmt":"2026-05-27T11:16:24","slug":"cve-2026-45846-bareudp-fix-null-pointer-dereference-in-bareudp_fill_metadata_dst","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-45846-bareudp-fix-null-pointer-dereference-in-bareudp_fill_metadata_dst\/","title":{"rendered":"CVE-2026-45846 &#8211; bareudp: fix NULL pointer dereference in bareudp_fill_metadata_dst()"},"content":{"rendered":"<p>CVE ID :CVE-2026-45846<\/p>\n<p>  Published : May 27, 2026, 11:16 a.m. | 1\u00a0hour, 15\u00a0minutes ago<\/p>\n<p>  Description :In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bareudp: fix NULL pointer dereference in bareudp_fill_metadata_dst()<\/p>\n<p>bareudp_fill_metadata_dst() passes bareudp-&gt;sock to<br \/>\nudp_tunnel6_dst_lookup() in the IPv6 path without a NULL check.<br \/>\nThe socket is only created in bareudp_open() and NULLed in<br \/>\nbareudp_stop(), so calling this function while the device is down<br \/>\ntriggers a NULL dereference via sock-&gt;sk.<\/p>\n<p> BUG: kernel NULL pointer dereference, address: 0000000000000018<br \/>\n RIP: 0010:udp_tunnel6_dst_lookup (net\/ipv6\/ip6_udp_tunnel.c:160)<br \/>\n Call Trace:<\/p>\n<p>  bareudp_fill_metadata_dst (drivers\/net\/bareudp.c:532)<br \/>\n  do_execute_actions (net\/openvswitch\/actions.c:901)<br \/>\n  ovs_execute_actions (net\/openvswitch\/actions.c:1589)<br \/>\n  ovs_packet_cmd_execute (net\/openvswitch\/datapath.c:700)<br \/>\n  genl_family_rcv_msg_doit (net\/netlink\/genetlink.c:1114)<br \/>\n  genl_rcv_msg (net\/netlink\/genetlink.c:1209)<br \/>\n  netlink_rcv_skb (net\/netlink\/af_netlink.c:2550)<\/p>\n<p>Add a NULL check returning -ESHUTDOWN, consistent with the xmit paths<br \/>\nin the same driver.<\/p>\n<p>  Severity: 0.0 | NA<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-45846 Published : May 27, 2026, 11:16 a.m. | 1\u00a0hour, 15\u00a0minutes ago Description :In the Linux kernel, the following vulnerability has been resolved: bareudp: fix NULL pointer dereference in bareudp_fill_metadata_dst() bareudp_fill_metadata_dst() passes bareudp-&gt;sock to udp_tunnel6_dst_lookup() in the IPv6 path without a NULL check. The socket is only created in bareudp_open() and NULLed in &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-78920","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=78920"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78920\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=78920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=78920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=78920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}