MediumCVE-2025-21865

    Linux Kernel: security vulnerability (CVE-2025-21865)

    Published Last modified Sources: Siemens ProductCERT, BSI, SUSE, Debian LTS, Debian, CVE.org, Msrc Update Guide, EUVD

    What is affected, what to do

    In the Linux kernel, the following vulnerability has been resolved: gtp: Suppress list corruption splat in gtp_net_exit_batch_rtnl(). Brad Spengler reported the list_del() corruption splat in gtp_net_exit_batch_rtnl(). [0] Commit eb28fd76c0a0 ("gtp: Destroy device along with udp socket's netns dismantle.") added the for_each_netdev() loop in gtp_net_exit_batch_rtnl() to destroy devices in each netns as done in geneve and ip tunnels.

    Update Linux Kernel to version 5.4.291, Linux Kernel to version 5.10.235, Linux Kernel to version 5.15.179.

    Affected
    • Linux Kernel lt 5.4.290..5.4.291
    • Linux Kernel lt 5.10.234..5.10.235
    • Linux Kernel lt 5.15.177..5.15.179
    • Linux Kernel lt 6.1.127..6.1.130
    • Linux Kernel lt 6.6.74..6.6.80
    • Linux Kernel lt 6.12.11..6.12.17
    • Linux Kernel lt 6.13..6.13.5
    Fixed in
    • Linux Kernel 5.4.291
    • Linux Kernel 5.10.235
    • Linux Kernel 5.15.179
    • Linux Kernel 6.1.130
    • Linux Kernel 6.6.80
    • Linux Kernel 6.12.17
    • Linux Kernel 6.13.5
    • Linux Kernel 6.14

    Not sure whether and how you are affected? Ask a question about this vulnerability

    Metrics

    5.5

    Priority

    XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.

    Source: NVD, CVSS v3

    5.5

    CVSS v3

    Severity Medium on the scale from 0 to 10.

    Source: Siemens ProductCERT, BSI, SUSE, Debian LTS, Debian, CVE.org, Msrc Update Guide, EUVD

    0.3 %

    EPSS score

    Low — model estimates < 1% exploitation likelihood.

    Source: FIRST EPSS, percentile 16.7

    Show all metrics
    Severity
    Medium
    Priority (0–325)

    The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?

    Read in glossary
    37.89 Methodology
    Exploit maturity

    An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.

    Read in glossary
    no public PoC known
    XIEM Effective CVSS

    XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.

    Read in glossary
    5.5 Methodology
    CVSS v3

    CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.

    Read in glossary
    5.5
    EPSS score

    The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.

    Read in glossary
    0.3 %
    Low — model estimates < 1% exploitation likelihood.
    EPSS percentile

    The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.

    Read in glossary
    16.7
    Elevated — this CVE ranks above at least 10% of all CVEs scored today.
    KEV status

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    —
    Published
    CISA assessment (SSVC)
    Exploitation: none known · not automatable · Technical impact: partial
    Source: CISA Vulnrichment, as of 1 October 2025
    CWE

    CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.

    Read in glossary
    CWE-787

    Detection rules

    No NEOSEC detection rule is available for this vulnerability yet.

    Classification under NIS2 and CRA

    Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.

    NIS2

    NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.

    Read in glossary
    Handle the vulnerability in regular vulnerability handling under Art. 21(2)(e) NIS2.
    CRA

    The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.

    Read in glossary
    From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
    ISO/IEC 27001

    ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.

    Read in glossary
    Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.

    Description

    In the Linux kernel, the following vulnerability has been resolved: gtp: Suppress list corruption splat in gtp_net_exit_batch_rtnl(). Brad Spengler reported the list_del() corruption splat in gtp_net_exit_batch_rtnl(). [0] Commit eb28fd76c0a0 ("gtp: Destroy device along with udp socket's netns dismantle.") added the for_each_netdev() loop in gtp_net_exit_batch_rtnl() to destroy devices in each netns as done in geneve and ip tunnels. However, this could trigger ->dellink() twice for the same device during ->exit_batch_rtnl(). Say we have two netns A & B and gtp device B that resides in netns B but whose UDP socket is in netns A. 1. cleanup_net() processes netns A and then B. 2. gtp_net_exit_batch_rtnl() finds the device B while iterating netns A's gn->gtp_dev_list and calls ->dellink(). [ device B is not yet unlinked from netns B as unregister_netdevice_many() has not been called. ] 3. gtp_net_exit_batch_rtnl() finds the device B while iterating netns B's for_each_netdev() and calls ->dellink(). gtp_dellink() cleans up the device's hash table, unlinks the dev from gn->gtp_dev_list, and calls unregister_netdevice_queue(). Basically, calling gtp_dellink() multiple times is fine unless CONFIG_DEBUG_LIST is enabled. Let's remove for_each_netdev() in gtp_net_exit_batch_rtnl() and delegate the destruction to default_device_exit_batch() as done in bareudp. [0]: list_del corruption, ffff8880aaa62c00->next (autoslab_size_M_dev_P_net_core_dev_11127_8_1328_8_S_4096_A_64_n_139+0xc00/0x1000 [slab object]) is LIST_POISON1 (ffffffffffffff02) (prev is 0xffffffffffffff04) kernel BUG at lib/list_debug.c:58! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 UID: 0 PID: 1804 Comm: kworker/u8:7 Tainted: G T 6.12.13-grsec-full-20250211091339 #1 Tainted: [T]=RANDSTRUCT Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014 Workqueue: netns cleanup_net RIP: 0010:[<ffffffff84947381>] __list_del_entry_valid_or_report+0x141/0x200 lib/list_debug.c:58 Code: c2 76 91 31 c0 e8 9f b1 f7 fc 0f 0b 4d 89 f0 48 c7 c1 02 ff ff ff 48 89 ea 48 89 ee 48 c7 c7 e0 c2 76 91 31 c0 e8 7f b1 f7 fc <0f> 0b 4d 89 e8 48 c7 c1 04 ff ff ff 48 89 ea 48 89 ee 48 c7 c7 60 RSP: 0018:fffffe8040b4fbd0 EFLAGS: 00010283 RAX: 00000000000000cc RBX: dffffc0000000000 RCX: ffffffff818c4054 RDX: ffffffff84947381 RSI: ffffffff818d1512 RDI: 0000000000000000 RBP: ffff8880aaa62c00 R08: 0000000000000001 R09: fffffbd008169f32 R10: fffffe8040b4f997 R11: 0000000000000001 R12: a1988d84f24943e4 R13: ffffffffffffff02 R14: ffffffffffffff04 R15: ffff8880aaa62c08 RBX: kasan shadow of 0x0 RCX: __wake_up_klogd.part.0+0x74/0xe0 kernel/printk/printk.c:4554 RDX: __list_del_entry_valid_or_report+0x141/0x200 lib/list_debug.c:58 RSI: vprintk+0x72/0x100 kernel/printk/printk_safe.c:71 RBP: autoslab_size_M_dev_P_net_core_dev_11127_8_1328_8_S_4096_A_64_n_139+0xc00/0x1000 [slab object] RSP: process kstack fffffe8040b4fbd0+0x7bd0/0x8000 [kworker/u8:7+netns 1804 ] R09: kasan shadow of process kstack fffffe8040b4f990+0x7990/0x8000 [kworker/u8:7+netns 1804 ] R10: process kstack fffffe8040b4f997+0x7997/0x8000 [kworker/u8:7+netns 1804 ] R15: autoslab_size_M_dev_P_net_core_dev_11127_8_1328_8_S_4096_A_64_n_139+0xc08/0x1000 [slab object] FS: 0000000000000000(0000) GS:ffff888116000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000748f5372c000 CR3: 0000000015408000 CR4: 00000000003406f0 shadow CR4: 00000000003406f0 Stack: 0000000000000000 ffffffff8a0c35e7 ffffffff8a0c3603 ffff8880aaa62c00 ffff8880aaa62c00 0000000000000004 ffff88811145311c 0000000000000005 0000000000000001 ffff8880aaa62000 fffffe8040b4fd40 ffffffff8a0c360d Call Trace: <TASK> [<ffffffff8a0c360d>] __list_del_entry_valid include/linux/list.h:131 [inline] fffffe8040b4fc28 [<ffffffff8a0c360d>] __list_del_entry include/linux/list.h:248 [inline] fffffe8040b4fc28 [<ffffffff8a0c360d>] list_del include/linux/list.h:262 [inl ---truncated---

    Source: siemens_advisory, BSI CSAF, BSI WID Portal, suse_csaf, Debian LTS Advisories, Debian Security Advisories, cvelistv5, NVD (NIST), Microsoft Security Update Guide, CVE.org (MITRE), ENISA EUVD

    Affected products

    The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.

    Affected products
    Affected versionsFixed in
    LinuxLinux
    • 5.15.177 – < 5.15.179
    • 6.12.11 – < 6.12.17
    • 6.6.74 – < 6.6.80
    • —
    • 5.10.234 – < 5.10.235
    • 6.1.127 – < 6.1.130
    • 5.4.290 – < 5.4.291
    • 6.13 – < 6.13.5
    • 5.15.179
    • 6.12.17
    • 6.6.80
    • 6.14
    • 5.10.235
    • 6.1.130
    • 5.4.291
    • 6.13.5
    DellSecure Connect Gateway
    • < 5.30.0.14
    • 5.30.0.14
    SiemensSIMATIC S7
    • 1500 TM MFP V1.1.1 GNU/Linux subsystem
    • —

    Vendors and products

    Affected operating systems

    Affected operating systems
    Linuxdebianlinuxbookworm
    Linuxdebianlinux-6.1bullseye
    Linuxlinuxlinux_kernel5.10.234
    Linuxlinuxlinux_kernel5.15.177
    Linuxlinuxlinux_kernel5.4.290
    Linuxlinuxlinux_kernel6.14
    Linuxlinuxlinux_kernel—

    Weakness classes (CWE)

    • CWE-787Out-of-bounds Write

      Base

      The product writes data past the end, or before the beginning, of the intended buffer.

      Entry at MITRE CWE-787

    References & sources

    Changes to this CVE

    Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).

    1. Record modifiedLinux

      Show 24 original changes
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Referenceadded
      —
      https://git.kernel.org/stable/c/33eb925c0c26e86ca540a08254806512bf911f22
      Referenceadded
      —
      https://git.kernel.org/stable/c/37e7644b961600ef0beb01d3970c3034a62913af
      Referenceadded
      —
      https://git.kernel.org/stable/c/4ccacf86491d33d2486b62d4d44864d7101b299d
      Referenceadded
      —
      https://git.kernel.org/stable/c/7f86fb07db65a470d0c11f79da551bd9466357dc
      Referenceadded
      —
      https://git.kernel.org/stable/c/9d03e7e37187ae140e716377599493987fb20c5b
      Referenceadded
      —
      https://git.kernel.org/stable/c/b70fa591b066d52b141fc430ffdee35b6cc87a66
      Referenceadded
      —
      https://git.kernel.org/stable/c/cb15bb1bde0ba97cbbed9508e45210dcafec3657
      Referenceadded
      —
      https://git.kernel.org/stable/c/ff81b14010362f6188ca26fec22ff05e4da45595
      Referenceremoved
      https://git.kernel.org/stable/c/33eb925c0c26e86ca540a08254806512bf911f22
      —
      Referenceremoved
      https://git.kernel.org/stable/c/37e7644b961600ef0beb01d3970c3034a62913af
      —
      Referenceremoved
      https://git.kernel.org/stable/c/4ccacf86491d33d2486b62d4d44864d7101b299d
      —
      Referenceremoved
      https://git.kernel.org/stable/c/7f86fb07db65a470d0c11f79da551bd9466357dc
      —
      Referenceremoved
      https://git.kernel.org/stable/c/9d03e7e37187ae140e716377599493987fb20c5b
      —
      Referenceremoved
      https://git.kernel.org/stable/c/b70fa591b066d52b141fc430ffdee35b6cc87a66
      —
      Referenceremoved
      https://git.kernel.org/stable/c/cb15bb1bde0ba97cbbed9508e45210dcafec3657
      —
      Referenceremoved
      https://git.kernel.org/stable/c/ff81b14010362f6188ca26fec22ff05e4da45595
      —
      Reference typeremoved
      https://git.kernel.org/stable/c/33eb925c0c26e86ca540a08254806512bf911f22 Types: Patch
      —
      Reference typeremoved
      https://git.kernel.org/stable/c/37e7644b961600ef0beb01d3970c3034a62913af Types: Patch
      —
      Reference typeremoved
      https://git.kernel.org/stable/c/4ccacf86491d33d2486b62d4d44864d7101b299d Types: Patch
      —
      Reference typeremoved
      https://git.kernel.org/stable/c/7f86fb07db65a470d0c11f79da551bd9466357dc Types: Patch
      —
      Reference typeremoved
      https://git.kernel.org/stable/c/9d03e7e37187ae140e716377599493987fb20c5b Types: Patch
      —
      Reference typeremoved
      https://git.kernel.org/stable/c/b70fa591b066d52b141fc430ffdee35b6cc87a66 Types: Patch
      —
      Reference typeremoved
      https://git.kernel.org/stable/c/cb15bb1bde0ba97cbbed9508e45210dcafec3657 Types: Patch
      —
      Reference typeremoved
      https://git.kernel.org/stable/c/ff81b14010362f6188ca26fec22ff05e4da45595 Types: Patch
      —

      Source identifier: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    2. Record modifiedCVE Program

      Show 2 original changes
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Referenceadded
      —
      https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
      Referenceremoved
      https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
      —

      Source identifier: af854a3a-2127-422b-91ae-364da2661108

    3. Record modifiedSiemens ADP

      Show 6 original changes
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Affected versions (publisher)added
      —
      Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/21xxx/CVE-2025-21865.json">CVE-2025-21865</a>
      Referenceadded
      —
      https://cert-portal.siemens.com/productcert/html/ssa-082556.html
      Referenceadded
      —
      https://cert-portal.siemens.com/productcert/html/ssa-265688.html
      Referenceadded
      —
      https://cert-portal.siemens.com/productcert/html/ssa-784472.html
      Referenceremoved
      https://cert-portal.siemens.com/productcert/html/ssa-082556.html
      —
      Referenceremoved
      https://cert-portal.siemens.com/productcert/html/ssa-265688.html
      —

      Source identifier: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e

    Embed badge

    Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.

    Badge preview for CVE-2025-21865
    <a href="https://intel.neosec.eu/en/cve/CVE-2025-21865"><img src="https://intel.neosec.eu/badge/cve/CVE-2025-21865.svg?lang=en" alt="CVE-2025-21865 – NEOSEC Intel" height="20"></a>