{"id":"CVE-2025-39796","state":"PUBLISHED","title":"net: lapbether: ignore ops-locked netdevs","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: lapbether: ignore ops-locked netdevs\n\nSyzkaller managed to trigger lock dependency in xsk_notify via\nregister_netdevice. As discussed in [0], using register_netdevice\nin the notifiers is problematic so skip adding lapbeth for ops-locked\ndevices.\n\n       xsk_notifier+0xa4/0x280 net/xdp/xsk.c:1645\n       notifier_call_chain+0xbc/0x410 kernel/notifier.c:85\n       call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230\n       call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]\n       call_netdevice_notifiers net/core/dev.c:2282 [inline]\n       unregister_netdevice_many_notify+0xf9d/0x2700 net/core/dev.c:12077\n       unregister_netdevice_many net/core/dev.c:12140 [inline]\n       unregister_netdevice_queue+0x305/0x3f0 net/core/dev.c:11984\n       register_netdevice+0x18f1/0x2270 net/core/dev.c:11149\n       lapbeth_new_device drivers/net/wan/lapbether.c:420 [inline]\n       lapbeth_device_event+0x5b1/0xbe0 drivers/net/wan/lapbether.c:462\n       notifier_call_chain+0xbc/0x410 kernel/notifier.c:85\n       call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230\n       call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]\n       call_netdevice_notifiers net/core/dev.c:2282 [inline]\n       __dev_notify_flags+0x12c/0x2e0 net/core/dev.c:9497\n       netif_change_flags+0x108/0x160 net/core/dev.c:9526\n       dev_change_flags+0xba/0x250 net/core/dev_api.c:68\n       devinet_ioctl+0x11d5/0x1f50 net/ipv4/devinet.c:1200\n       inet_ioctl+0x3a7/0x3f0 net/ipv4/af_inet.c:1001\n\n0: https://lore.kernel.org/netdev/20250625140357.6203d0af@kernel.org/","publishedAt":"2025-09-12T15:59:32.871Z","updatedAt":"2026-05-11T21:36:27.385Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4c975fd700022c90e61a46326e3444e08317876e","status":"affected","lessThan":"57a7ef338a2cd62a22a15a199ab9afd3d953df55","versionType":"git"},{"version":"4c975fd700022c90e61a46326e3444e08317876e","status":"affected","lessThan":"628e233c1fefcc227fae9bdcff6be8ac92e1b4d2","versionType":"git"},{"version":"4c975fd700022c90e61a46326e3444e08317876e","status":"affected","lessThan":"53898ebabe843bfa7baea9dae152797d5d0563c9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wan/lapbether.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.15.11","status":"unaffected","lessThanOrEqual":"6.15.*","versionType":"semver"},{"version":"6.16.2","status":"unaffected","lessThanOrEqual":"6.16.*","versionType":"semver"},{"version":"6.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wan/lapbether.c"]}],"references":["https://git.kernel.org/stable/c/57a7ef338a2cd62a22a15a199ab9afd3d953df55","https://git.kernel.org/stable/c/628e233c1fefcc227fae9bdcff6be8ac92e1b4d2","https://git.kernel.org/stable/c/53898ebabe843bfa7baea9dae152797d5d0563c9"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/39xxx/CVE-2025-39796.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-39796","state":"PUBLISHED","datePublished":"2025-09-12T15:59:32.871Z","dateUpdated":"2026-05-11T21:36:27.385Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T07:20:57.132Z"},"containers":{"cna":{"title":"net: lapbether: ignore ops-locked netdevs","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: lapbether: ignore ops-locked netdevs\n\nSyzkaller managed to trigger lock dependency in xsk_notify via\nregister_netdevice. As discussed in [0], using register_netdevice\nin the notifiers is problematic so skip adding lapbeth for ops-locked\ndevices.\n\n       xsk_notifier+0xa4/0x280 net/xdp/xsk.c:1645\n       notifier_call_chain+0xbc/0x410 kernel/notifier.c:85\n       call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230\n       call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]\n       call_netdevice_notifiers net/core/dev.c:2282 [inline]\n       unregister_netdevice_many_notify+0xf9d/0x2700 net/core/dev.c:12077\n       unregister_netdevice_many net/core/dev.c:12140 [inline]\n       unregister_netdevice_queue+0x305/0x3f0 net/core/dev.c:11984\n       register_netdevice+0x18f1/0x2270 net/core/dev.c:11149\n       lapbeth_new_device drivers/net/wan/lapbether.c:420 [inline]\n       lapbeth_device_event+0x5b1/0xbe0 drivers/net/wan/lapbether.c:462\n       notifier_call_chain+0xbc/0x410 kernel/notifier.c:85\n       call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230\n       call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]\n       call_netdevice_notifiers net/core/dev.c:2282 [inline]\n       __dev_notify_flags+0x12c/0x2e0 net/core/dev.c:9497\n       netif_change_flags+0x108/0x160 net/core/dev.c:9526\n       dev_change_flags+0xba/0x250 net/core/dev_api.c:68\n       devinet_ioctl+0x11d5/0x1f50 net/ipv4/devinet.c:1200\n       inet_ioctl+0x3a7/0x3f0 net/ipv4/af_inet.c:1001\n\n0: https://lore.kernel.org/netdev/20250625140357.6203d0af@kernel.org/"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4c975fd700022c90e61a46326e3444e08317876e","status":"affected","lessThan":"57a7ef338a2cd62a22a15a199ab9afd3d953df55","versionType":"git"},{"version":"4c975fd700022c90e61a46326e3444e08317876e","status":"affected","lessThan":"628e233c1fefcc227fae9bdcff6be8ac92e1b4d2","versionType":"git"},{"version":"4c975fd700022c90e61a46326e3444e08317876e","status":"affected","lessThan":"53898ebabe843bfa7baea9dae152797d5d0563c9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wan/lapbether.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.15.11","status":"unaffected","lessThanOrEqual":"6.15.*","versionType":"semver"},{"version":"6.16.2","status":"unaffected","lessThanOrEqual":"6.16.*","versionType":"semver"},{"version":"6.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wan/lapbether.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/57a7ef338a2cd62a22a15a199ab9afd3d953df55"},{"url":"https://git.kernel.org/stable/c/628e233c1fefcc227fae9bdcff6be8ac92e1b4d2"},{"url":"https://git.kernel.org/stable/c/53898ebabe843bfa7baea9dae152797d5d0563c9"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:36:27.385Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.15.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.16.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.17"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}