{"id":"AZL-117040","summary":"CVE-2026-139307 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't bind a program to a netdev that goes away\n\nbpf_prog_dev_bound_init() looks the device up, takes bpf_devs_lock and\nregisters the device for the program.  The reference it holds does not\nkeep the device registered.  If bpf_dev_bound_netdev_unregister() has run\nby the time the lock is taken, nobody takes the program off the device any\nmore: the bpf_offload_netdev and offload-\u003enetdev point to a net_device\nthat is freed as soon as the reference is dropped.\nbpf_dev_bound_resolve_kfunc() dereferences it while the program is\nverified, and a new device at the same address finds the old entry.\n\nunregister_netdevice_many_notify() leaves NETREG_REGISTERED before it\ncalls bpf_dev_bound_netdev_unregister(), which takes bpf_devs_lock.  Look\nat reg_state under that lock, and treat a device that goes like one that\nis not there.","modified":"2026-12-01T14:17:41.272112392Z","published":"2026-11-30T14:18:54Z","upstream":["CVE-2026-139307"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139307"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-117040.json"}}],"schema_version":"1.9.2"}