← Back to CVE Explorer

CVE-2025-39796

Full vulnerability record from the local CVENow database.

Description

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/[email protected]/

Severity
HIGH
CVSS score
7.8 (v3.1)
Vulnerability status
Analyzed
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2025-09-12 16:15:33.987000
Last modified
2026-10-19 21:10:00.160000
View original CVE JSON
{
  "id": "CVE-2025-39796",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2025-09-12T16:15:33.987",
  "lastModified": "2026-10-19T21:10:00.160",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "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/[email protected]/"
    },
    {
      "lang": "es",
      "value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnet: lapbether: ignorar dispositivos de red bloqueados por operaciones\n\nSyzkaller logró desencadenar una dependencia de bloqueo en xsk_notify a través de register_netdevice. Como se discutió en [0], usar register_netdevice en los notificadores es problemático, por lo que se omite añadir lapbeth para dispositivos bloqueados por operaciones.\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/[email protected]/"
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/net/wan/lapbether.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4c975fd700022c90e61a46326e3444e08317876e",
              "lessThan": "57a7ef338a2cd62a22a15a199ab9afd3d953df55",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4c975fd700022c90e61a46326e3444e08317876e",
              "lessThan": "628e233c1fefcc227fae9bdcff6be8ac92e1b4d2",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4c975fd700022c90e61a46326e3444e08317876e",
              "lessThan": "53898ebabe843bfa7baea9dae152797d5d0563c9",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/net/wan/lapbether.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6.15",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "6.15",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.15.11",
              "lessThanOrEqual": "6.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.16.2",
              "lessThanOrEqual": "6.16.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.17",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Primary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "baseScore": 7.8,
          "baseSeverity": "HIGH",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 5.9
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Primary",
      "description": [
        {
          "lang": "en",
          "value": "NVD-CWE-noinfo"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "6.15",
              "versionEndExcluding": "6.15.11",
              "matchCriteriaId": "665E04B3-3C2F-4D7D-83BD-8A89096B94F5"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "6.16",
              "versionEndExcluding": "6.16.2",
              "matchCriteriaId": "BD7C087D-2415-4521-B624-30003352F899"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*",
              "matchCriteriaId": "327D22EF-390B-454C-BD31-2ED23C998A1C"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/53898ebabe843bfa7baea9dae152797d5d0563c9",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/57a7ef338a2cd62a22a15a199ab9afd3d953df55",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/628e233c1fefcc227fae9bdcff6be8ac92e1b4d2",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    }
  ]
}