CVE-2024-50142: xfrm: validate new SA's prefixlen using SA family when sel.family is unset
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.25% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 2d08a6c31c65f23db71a5385ee9cf9d8f9a67a71, 3f0ab59e6537c6a8f9e1b355b48f9c05a76e8563, 401ad99a5ae7180dd9449eac104cb755f442e7f3; azl3 kernel 6.6.57.1-7 on Azure Linux 3.0 6.6.64.2-1; azl3 kernel 6.6.64.2-1 on Azure Linux 3.0 6.6.64.2-1.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 2d08a6c31c65f23db71a5385ee9cf9d8f9a67a71, 3f0ab59e6537c6a8f9e1b355b48f9c05a76e8563, 401ad99a5ae7180dd9449eac104cb755f442e7f3; azl3 kernel 6.6.57.1-7 on Azure Linux 3.0 6.6.64.2-1; azl3 kernel 6.6.64.2-1 on Azure Linux 3.0 6.6.64.2-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2025-03475
- ALSA-2024:10943
- ALSA-2024:10944
- ALSA-2024:11486
- RHSA-2024:10943
- RHSA-2024:10944
- RHSA-2024:11486
- RHSA-2025:1658
- RLSA-2024:10943
- RLSA-2024:10944
- SUSE-SU-2025:0556-1
- SUSE-SU-2025:0564-1
- SUSE-SU-2025:0565-1
- SUSE-SU-2025:0577-1
- SUSE-SU-2025:0577-2
- SUSE-SU-2025:0847-1
- SUSE-SU-2025:0856-1
- SUSE-SU-2025:0955-1
- Published
- Nov 7, 2024
- Updated
- Oct 15, 2026
- EPSS
- 0.2% · 17th percentile
- CWE
- —
Report tools
Action score
22
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 5.5
- CNA · Linux
- 5.5
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 2.6.12affected
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before f31398570acf0f0804c644006f7bfa9067106b0aaffected · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 401ad99a5ae7180dd9449eac104cb755f442e7f3affected · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 8df5cd51fd70c33aa1776e5cbcd82b0a86649d73affected · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 2d08a6c31c65f23db71a5385ee9cf9d8f9a67a71affected · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before bce1afaa212ec380bf971614f70909a27882b862affected · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 7d9868180bd1e4cf37e7c5067362658971162366affected · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before e68dd80ba498265d2266b12dc3459164f4ff0c4aaffected · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 3f0ab59e6537c6a8f9e1b355b48f9c05a76e8563affected · git
- before 2.6.12not affected · semver
Affected versions · NVD (8)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel2.6.12 and later · before 4.19.323
- linux linux kernel4.20 and later · before 5.4.285
- linux linux kernel5.5 and later · before 5.10.229
- linux linux kernel5.11 and later · before 5.15.170
- linux linux kernel5.16 and later · before 6.1.115
- linux linux kernel6.2 and later · before 6.6.59
- linux linux kernel6.7 and later · before 6.11.6
- linux linux kernel6.12
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | bpftool | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-abi-stablelists | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-core | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-cross-headers | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-debug | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-debug-core | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-debug-devel | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-debug-modules | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-debug-modules-extra | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-devel | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-doc | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-headers | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-modules | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-modules-extra | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-rt | before 4.18.0-553.32.1.rt7.373.el8_10 | 4.18.0-553.32.1.rt7.373.el8_10 |
| AlmaLinux:8 | kernel-rt-core | before 4.18.0-553.32.1.rt7.373.el8_10 | 4.18.0-553.32.1.rt7.373.el8_10 |
| AlmaLinux:8 | kernel-rt-debug | before 4.18.0-553.32.1.rt7.373.el8_10 | 4.18.0-553.32.1.rt7.373.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-core | before 4.18.0-553.32.1.rt7.373.el8_10 | 4.18.0-553.32.1.rt7.373.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-devel | before 4.18.0-553.32.1.rt7.373.el8_10 | 4.18.0-553.32.1.rt7.373.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-modules | before 4.18.0-553.32.1.rt7.373.el8_10 | 4.18.0-553.32.1.rt7.373.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | before 4.18.0-553.32.1.rt7.373.el8_10 | 4.18.0-553.32.1.rt7.373.el8_10 |
| AlmaLinux:8 | kernel-rt-devel | before 4.18.0-553.32.1.rt7.373.el8_10 | 4.18.0-553.32.1.rt7.373.el8_10 |
| AlmaLinux:8 | kernel-rt-modules | before 4.18.0-553.32.1.rt7.373.el8_10 | 4.18.0-553.32.1.rt7.373.el8_10 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-50171Nov 7, 2024 · net: systemport: fix potential memory leak in bcm_sysport_xmit()22Monitor
- ← EarlierCVE-2024-50172Nov 7, 2024 · RDMA/bnxt_re: Fix a possible memory leak22Monitor
- Later →CVE-2024-50146Nov 7, 2024 · net/mlx5e: Don't call cleanup on profile rollback failure22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 2d08a6c31c65f23db71a5385ee9cf9d8f9a67a71 | Vendor (CNA) |
| Linux Linux | 3f0ab59e6537c6a8f9e1b355b48f9c05a76e8563 | Vendor (CNA) |
| Linux Linux | 401ad99a5ae7180dd9449eac104cb755f442e7f3 | Vendor (CNA) |
| Linux Linux | 7d9868180bd1e4cf37e7c5067362658971162366 | Vendor (CNA) |
| Linux Linux | 8df5cd51fd70c33aa1776e5cbcd82b0a86649d73 | Vendor (CNA) |
| Linux Linux | bce1afaa212ec380bf971614f70909a27882b862 | Vendor (CNA) |
| Linux Linux | e68dd80ba498265d2266b12dc3459164f4ff0c4a | Vendor (CNA) |
| Linux Linux | f31398570acf0f0804c644006f7bfa9067106b0a | Vendor (CNA) |
| azl3 kernel 6.6.57.1-7 on Azure Linux 3.0 | 6.6.64.2-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 kernel 6.6.64.2-1 on Azure Linux 3.0 | 6.6.64.2-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.167.1-2 on CBL Mariner 2.0 | 5.15.173.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.167.1-2 on CBL-Mariner 2.0 | 5.15.173.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.173.1-1 on CBL Mariner 2.0 | 5.15.173.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| almalinux:bpftool | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-abi-stablelists | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-core | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-cross-headers | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug-core | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug-devel | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug-modules | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug-modules-extra | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-devel | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-doc | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| debian:linux | 6.1.115-1 · Debian:12 | Package registry (OSV) |
| opensuse:dtb-aarch64 | 6.4.0-150600.23.42.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-64kb | 6.4.0-150600.23.42.2 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-azure | 6.4.0-150600.8.31.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-debug | 6.4.0-150600.23.42.2 · openSUSE:Leap 15.6 | Package registry (OSV) |
+43
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-1840 · Nov 8, 2024(Linux Kernel Güvenlik Bildirimi)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
—
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- git.kernel.org/stable/c/3f0ab59e6537c6a8f9e1b355b48f9c05a76e8563
- git.kernel.org/stable/c/401ad99a5ae7180dd9449eac104cb755f442e7f3
- git.kernel.org/stable/c/7d9868180bd1e4cf37e7c5067362658971162366
- git.kernel.org/stable/c/8df5cd51fd70c33aa1776e5cbcd82b0a86649d73
- git.kernel.org/stable/c/bce1afaa212ec380bf971614f70909a27882b862
- git.kernel.org/stable/c/e68dd80ba498265d2266b12dc3459164f4ff0c4a
- git.kernel.org/stable/c/f31398570acf0f0804c644006f7bfa9067106b0a
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html
- cert-portal.siemens.com/productcert/html/ssa-265688.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.