{
  "cveId": "CVE-2024-49940",
  "url": "https://patchblox.com/security/cve/CVE-2024-49940",
  "summary": "CVE-2024-49940 is fixed in 26 products on 1 platform, first by DEBIAN-CVE-2024-49940, released October 21, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "l2tp: prevent possible tunnel refcount underflow",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  l2tp: prevent possible tunnel refcount underflow  When a session is created, it sets a backpointer to its tunnel. When the session refcount drops to 0, l2tp_session_free drops the tunnel refcount if session-\u003Etunnel is non-NULL. However, session-\u003Etunnel is set in l2tp_session_create, before the tunnel refcount is incremented by l2tp_session_register, which leaves a small window where session-\u003Etunnel is non-NULL when the tunnel refcount hasn\u0027t been bumped.  Moving the assignment to l2tp_session_register is trivial but l2tp_session_create calls l2tp_session_set_header_len which uses session-\u003Etunnel to get the tunnel\u0027s encap. Add an encap arg to l2tp_session_set_header_len to avoid using session-\u003Etunnel.  If l2tpv3 sessions have colliding IDs, it is possible for l2tp_v3_session_get to race with l2tp_session_register and fetch a session which doesn\u0027t yet have session-\u003Etunnel set. Add a check for this case.",
  "published": "2024-10-21T18:15:15Z",
  "severity": "medium",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00325,
  "epssPercentile": 0.25687,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "vendorAdvisory": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-49940",
  "fixes": [
    {
      "platform": "linux",
      "product": "dtb-aarch64",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.47.1",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.47.2",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.47.2",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-azure",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.8.34.2",
      "fix": "SUSE-SU-2025:1177-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1177-1",
      "released": "2025-04-08T15:36:33Z"
    },
    {
      "platform": "linux",
      "product": "kernel-azure",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.8.34.2",
      "fix": "SUSE-SU-2025:1177-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1177-1",
      "released": "2025-04-08T15:36:33Z"
    },
    {
      "platform": "linux",
      "product": "kernel-coco",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-15061.21.coco15sp6.1",
      "fix": "SUSE-SU-2025:01919-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-01919-1",
      "released": "2025-06-12T06:29:09Z"
    },
    {
      "platform": "linux",
      "product": "kernel-coco_debug",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-15061.21.coco15sp6.1",
      "fix": "SUSE-SU-2025:01919-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-01919-1",
      "released": "2025-06-12T06:29:09Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debug",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.47.2",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.47.2",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.47.2",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.47.2.150600.12.20.2",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.47.2.150600.12.20.2",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.47.1",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.47.1",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-kvmsmall",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.47.2",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-SLE15-SP6-RT_Update_10",
      "release": "sles 15.6",
      "fixedVersion": "1-150600.1.5.1",
      "fix": "SUSE-SU-2025:1178-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1178-1",
      "released": "2025-04-08T16:32:07Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-SLE15-SP6_Update_10",
      "release": "sles 15.6",
      "fixedVersion": "1-150600.13.5.1",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-build",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.47.1",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-build",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.47.1",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-qa",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.47.1",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-rt",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.10.34.1",
      "fix": "SUSE-SU-2025:1178-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1178-1",
      "released": "2025-04-08T16:32:07Z"
    },
    {
      "platform": "linux",
      "product": "kernel-rt_debug",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.10.34.1",
      "fix": "SUSE-SU-2025:1178-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1178-1",
      "released": "2025-04-08T16:32:07Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.47.2",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.47.2",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source-azure",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.8.34.2",
      "fix": "SUSE-SU-2025:1177-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1177-1",
      "released": "2025-04-08T15:36:33Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source-azure",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.8.34.2",
      "fix": "SUSE-SU-2025:1177-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1177-1",
      "released": "2025-04-08T15:36:33Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source-coco",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-15061.21.coco15sp6.1",
      "fix": "SUSE-SU-2025:01919-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-01919-1",
      "released": "2025-06-12T06:29:09Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source-rt",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.10.34.1",
      "fix": "SUSE-SU-2025:1178-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1178-1",
      "released": "2025-04-08T16:32:07Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.47.1",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.47.1",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms-azure",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.8.34.1",
      "fix": "SUSE-SU-2025:1177-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1177-1",
      "released": "2025-04-08T15:36:33Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms-azure",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.8.34.1",
      "fix": "SUSE-SU-2025:1177-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1177-1",
      "released": "2025-04-08T15:36:33Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms-coco",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-15061.21.coco15sp6.1",
      "fix": "SUSE-SU-2025:01919-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-01919-1",
      "released": "2025-06-12T06:29:09Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms-rt",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.10.34.1",
      "fix": "SUSE-SU-2025:1178-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1178-1",
      "released": "2025-04-08T16:32:07Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.47.2",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.47.2",
      "fix": "SUSE-SU-2025:1180-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-1180-1",
      "released": "2025-04-09T07:02:27Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.11.4-1",
      "fix": "DEBIAN-CVE-2024-49940",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-49940",
      "released": "2024-10-21T18:15:15Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.11.4-1",
      "fix": "DEBIAN-CVE-2024-49940",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-49940",
      "released": "2024-10-21T18:15:15Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}