ghsa-w2mf-xqwh-rhg8
Vulnerability from github
Published
2025-09-12 18:31
Modified
2025-09-12 18:31
Details

In the Linux kernel, the following vulnerability has been resolved:

net: lapbether: ignore ops-locked netdevs

Syzkaller managed to trigger lock dependency in xsk_notify via register_netdevice. As discussed in [0], using register_netdevice in the notifiers is problematic so skip adding lapbeth for ops-locked devices.

   xsk_notifier+0xa4/0x280 net/xdp/xsk.c:1645
   notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
   call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
   call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
   call_netdevice_notifiers net/core/dev.c:2282 [inline]
   unregister_netdevice_many_notify+0xf9d/0x2700 net/core/dev.c:12077
   unregister_netdevice_many net/core/dev.c:12140 [inline]
   unregister_netdevice_queue+0x305/0x3f0 net/core/dev.c:11984
   register_netdevice+0x18f1/0x2270 net/core/dev.c:11149
   lapbeth_new_device drivers/net/wan/lapbether.c:420 [inline]
   lapbeth_device_event+0x5b1/0xbe0 drivers/net/wan/lapbether.c:462
   notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
   call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
   call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
   call_netdevice_notifiers net/core/dev.c:2282 [inline]
   __dev_notify_flags+0x12c/0x2e0 net/core/dev.c:9497
   netif_change_flags+0x108/0x160 net/core/dev.c:9526
   dev_change_flags+0xba/0x250 net/core/dev_api.c:68
   devinet_ioctl+0x11d5/0x1f50 net/ipv4/devinet.c:1200
   inet_ioctl+0x3a7/0x3f0 net/ipv4/af_inet.c:1001

0: https://lore.kernel.org/netdev/20250625140357.6203d0af@kernel.org/

Show details on source website


{
  "affected": [],
  "aliases": [
    "CVE-2025-39796"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-09-12T16:15:33Z",
    "severity": null
  },
  "details": "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/",
  "id": "GHSA-w2mf-xqwh-rhg8",
  "modified": "2025-09-12T18:31:10Z",
  "published": "2025-09-12T18:31:10Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-39796"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/53898ebabe843bfa7baea9dae152797d5d0563c9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/57a7ef338a2cd62a22a15a199ab9afd3d953df55"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/628e233c1fefcc227fae9bdcff6be8ac92e1b4d2"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…