LiveActive security incident?Get immediate response
CVE Record

CVE-2024-50142: xfrm: validate new SA's prefixlen using SA family when sel.family is unset

In the Linux kernel, the following vulnerability has been resolved: xfrm: validate new SA's prefixlen using SA family when sel.family is unset This expands the validation introduced in commit 07bf7908950a ("xfrm: Validate address prefix lengths in the xfrm selector.") syzbot created an SA with usersa.sel.family = AF_UNSPEC usersa.sel.prefixlen_s = 128 usersa.family = AF_INET Because of the AF_UNSPEC selector, verify_newsa_info doesn't put limits on prefixlen_{s,d}. But then copy_from_user_state sets x->sel.family to usersa.family (AF_INET). Do the same conversion in verify_newsa_info before validating prefixlen_{s,d}, since that's how prefixlen is going to be used later on.

MediumCVSS 5.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2024-50142 is a Linux kernel flaw in IPsec/XFRM security association validation. A local privileged path can supply inconsistent address-family and prefix-length values, leading to availability impact. The public record shows fixes in Linux stable commits and downstream Debian advisories; it does not show active exploitation.

Executive priority

Treat as routine but time-bound kernel maintenance. The issue can affect availability, but evidence indicates local access requirements and no confirmed active exploitation. Prioritize exposed shared Linux environments and systems supporting VPN/IPsec functions.

Technical view

The XFRM code validated selector prefix lengths before normalizing an unset selector family to the security association family. A crafted new SA with AF_UNSPEC selector family, IPv6-sized prefix length, and AF_INET SA family could bypass intended limits. The fix performs the same family conversion during verification before prefix-length validation.

Likely exposure

Exposure is mainly Linux systems running affected kernel versions where local users, services, or containers can reach XFRM/IPsec security association management paths. Internet-facing exposure is not indicated by the CVSS vector or sources.

Exploitation context

Sources support local, low-privilege, no-user-interaction availability impact with CVSS 5.5. KEV is false, and the provided sources do not cite public exploitation or weaponized proof-of-concept activity.

Researcher notes

The root issue is validation order in verify_newsa_info versus later copy_from_user_state behavior. The record names syzbot as the discoverer context and links multiple stable backports, but does not provide crash details beyond availability impact.

Mitigation direction

  • Apply vendor kernel updates containing the referenced Linux stable fixes.
  • Prioritize multi-user, container, VPN, and IPsec-capable Linux hosts.
  • Review Debian LTS advisories if using affected Debian kernels.
  • Check vendor guidance for any supported temporary mitigations.
  • Limit unnecessary access to XFRM/IPsec administration until patched.

Validation and detection

  • Inventory Linux kernel versions across servers, appliances, and containers hosts.
  • Compare installed kernels against vendor advisories and fixed stable releases.
  • Check whether workloads require XFRM/IPsec security association management.
  • Confirm patched kernels are booted, not only installed.
  • Track exceptions until vendor-fixed kernels are deployed.
Prepared
Confidence
high
Sources
12

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2024-50142 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
3ADP providers
12Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.5CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H1.83.6CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

5.5Medium
CVSS 3.1 vector shape for CVE-2024-50142Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
CVECVE Program Container
siemens-SADPADP container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2unaffected
LinuxLinux2.6.12, 0, 4.19.323, 5.4.285, 5.10.229, 5.15.170, 6.1.115, 6.6.59, 6.11.6, 6.12affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.