Skip to content
Noroxi
NVD / CVE Program· CNA Linux

CVE-2024-43882: exec: Fix ToCToU between perm check and set-uid/gid usage

Noroxi assessment

Priority: Monitor (action score 28/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.24% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. Special conditions such as timing or configuration are required.
  • Fixed version: Linux Linux 15469d46ba34559bfe7e3de6659115778c624759, 368f6985d46657b8b466a421dddcacd4051f7ada, 90dfbba89ad4f0d9c9744ecbb1adac4aa2ff4f3e.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to Linux Linux 15469d46ba34559bfe7e3de6659115778c624759, 368f6985d46657b8b466a421dddcacd4051f7ada, 90dfbba89ad4f0d9c9744ecbb1adac4aa2ff4f3e 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: exec: Fix ToCToU between perm check and set-uid/gid usage When opening a file for exec via do_filp_open(), permission checking is done against the file's metadata at that moment, and on success, a file pointer is passed back. Much later in the execve() code path, the file metadata (specifically mode, uid, and gid) is used to determine if/how to set the uid and gid. However, those values may have changed since the permissions check, meaning the execution may gain unintended privileges. For example, if a file could change permissions from executable and not set-id: ---------x 1 root root 16048 Aug 7 13:16 target to set-id and non-executable: ---S------ 1 root root 16048 Aug 7 13:16 target it is possible to gain root privileges when execution should have been disallowed. While this race condition is rare in real-world scenarios, it has been observed (and proven exploitable) when package managers are updating the setuid bits of installed programs. Such files start with being world-executable but then are adjusted to be group-exec with a set-uid bit. For example, "chmod o-x,u+s target" makes "target" executable only by uid "root" and gid "cdrom", while also becoming setuid-root: -rwxr-xr-x 1 root cdrom 16048 Aug 7 13:16 target becomes: -rwsr-xr-- 1 root cdrom 16048 Aug 7 13:16 target But racing the chmod means users without group "cdrom" membership can get the permission to execute "target" just before the chmod, and when the chmod finishes, the exec reaches brpm_fill_uid(), and performs the setuid to root, violating the expressed authorization of "only cdrom group members can setuid to root". Re-check that we still have execute permissions in case the metadata has changed. It would be better to keep a copy from the perm-check time, but until we can do that refactoring, the least-bad option is to do a full inode_permission() call (under inode lock). It is understood that this is safe against dead-locks, but hardly optimal.

HighCVSS 7.0 · v3.1—No exploit Fix available
Published
Aug 21, 2024
Updated
Oct 15, 2026
EPSS
0.2% · 15th percentile

Report tools

JSON

Action score

28

Monitor

Low priority for now.

CVSS
28 / 40 · 7.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
7.0
CNA · Linux
7.8
0.8 point gap

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

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.

Follow CVE-2024-43882

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi 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 help

Affected 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.

VendorProduct
linuxlinux kernel

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernelbefore 4.19.320
  • linux linux kernel4.20 and later · before 5.4.282
  • linux linux kernel5.5 and later · before 5.10.224
  • linux linux kernel5.11 and later · before 5.15.165
  • linux linux kernel5.16 and later · before 6.1.106
  • linux linux kernel6.2 and later · before 6.6.47
  • linux linux kernel6.7 and later · before 6.10.6
  • linux linux kernel6.11

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.18affected
    • 9167b0b9a0ab7907191523f5a0528e3b9c288e21 and later · before d5c3c7e26275a2d83b894d30f7582a42853a958faffected · git
    • 9167b0b9a0ab7907191523f5a0528e3b9c288e21 and later · before 368f6985d46657b8b466a421dddcacd4051f7adaaffected · git
    • 9167b0b9a0ab7907191523f5a0528e3b9c288e21 and later · before 15469d46ba34559bfe7e3de6659115778c624759affected · git
    • 9167b0b9a0ab7907191523f5a0528e3b9c288e21 and later · before 9b424c5d4130d56312e2a3be17efb0928fec4d64affected · git
    • 9167b0b9a0ab7907191523f5a0528e3b9c288e21 and later · before f6cfc6bcfd5e1cf76115b6450516ea4c99897ae1affected · git
    • 9167b0b9a0ab7907191523f5a0528e3b9c288e21 and later · before d2a2a4714d80d09b0f8eb6438ab4224690b7121eaffected · git
    • 9167b0b9a0ab7907191523f5a0528e3b9c288e21 and later · before 90dfbba89ad4f0d9c9744ecbb1adac4aa2ff4f3eaffected · git
    • 9167b0b9a0ab7907191523f5a0528e3b9c288e21 and later · before f50733b45d865f91db90919f8311e2127ce5a0cbaffected · git
    • before 2.6.18not affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 6.1.106-16.1.106-1
Debian:13linuxbefore 6.10.6-16.10.6-1
SUSE:Linux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_56before 16-2.116-2.1
SUSE:Linux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_59before 10-2.110-2.1
SUSE:Linux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_43before 18-150300.2.218-150300.2.2
SUSE:Linux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_44before 17-150300.2.217-150300.2.2
SUSE:Linux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_45before 14-150300.2.214-150300.2.2
SUSE:Linux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_25before 18-150400.2.218-150400.2.2
SUSE:Linux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_26before 17-150400.2.217-150400.2.2
SUSE:Linux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_28before 12-150400.2.212-150400.2.2
SUSE:Linux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_12before 18-150500.2.218-150500.2.2
SUSE:Linux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_13before 16-150500.2.216-150500.2.2
SUSE:Linux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_15before 15-150500.2.215-150500.2.2
SUSE:Linux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_17before 10-150500.2.210-150500.2.2
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_1before 14-150600.2.214-150600.2.2
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_3before 14-150600.2.214-150600.2.2
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_0before 15-150600.3.115-150600.3.1
SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREkernel-defaultbefore 3.0.101-108.162.13.0.101-108.162.1
SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREkernel-ec2before 3.0.101-108.162.13.0.101-108.162.1
SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREkernel-sourcebefore 3.0.101-108.162.13.0.101-108.162.1
SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREkernel-symsbefore 3.0.101-108.162.13.0.101-108.162.1
SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREkernel-tracebefore 3.0.101-108.162.13.0.101-108.162.1
SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREkernel-xenbefore 3.0.101-108.162.13.0.101-108.162.1

Other highest-scoring records for the same primary product.

  • CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV
    90Now
  • 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 KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now

Published before and after this one in the same product

  • ← EarlierCVE-2024-43871Aug 21, 2024 · devres: Fix memory leakage caused by driver API devm_free_percpu()
    22Monitor
  • ← EarlierCVE-2024-43879Aug 21, 2024 · wifi: cfg80211: handle 2x996 RU allocation in cfg80211_calculate_bitrate_he()
    22Monitor
  • Later →CVE-2022-48867Aug 21, 2024 · dmaengine: idxd: Prevent use after free on completion memory
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux15469d46ba34559bfe7e3de6659115778c624759Vendor (CNA)
Linux Linux368f6985d46657b8b466a421dddcacd4051f7adaVendor (CNA)
Linux Linux90dfbba89ad4f0d9c9744ecbb1adac4aa2ff4f3eVendor (CNA)
Linux Linux9b424c5d4130d56312e2a3be17efb0928fec4d64Vendor (CNA)
Linux Linuxd2a2a4714d80d09b0f8eb6438ab4224690b7121eVendor (CNA)
Linux Linuxd5c3c7e26275a2d83b894d30f7582a42853a958fVendor (CNA)
Linux Linuxf50733b45d865f91db90919f8311e2127ce5a0cbVendor (CNA)
Linux Linuxf6cfc6bcfd5e1cf76115b6450516ea4c99897ae1Vendor (CNA)
debian:linux6.1.106-1 · Debian:12Package registry (OSV)
suse:kernel-default3.0.101-108.162.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREPackage registry (OSV)
suse:kernel-ec23.0.101-108.162.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREPackage registry (OSV)
suse:kernel-livepatch-SLE15-SP3_Update_4318-150300.2.2 · SUSE:Linux Enterprise Live Patching 15 SP3Package registry (OSV)
suse:kernel-livepatch-SLE15-SP3_Update_4514-150300.2.2 · SUSE:Linux Enterprise Live Patching 15 SP3Package registry (OSV)
suse:kernel-livepatch-SLE15-SP5_Update_1515-150500.2.2 · SUSE:Linux Enterprise Live Patching 15 SP5Package registry (OSV)
suse:kernel-livepatch-SLE15-SP6-RT_Update_015-150600.3.1 · SUSE:Linux Enterprise Live Patching 15 SP6Package registry (OSV)
suse:kernel-source3.0.101-108.162.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREPackage registry (OSV)
suse:kernel-syms3.0.101-108.162.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREPackage registry (OSV)
suse:kernel-trace3.0.101-108.162.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREPackage registry (OSV)
suse:kernel-xen3.0.101-108.162.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME COREPackage registry (OSV)
suse:kgraft-patch-SLE12-SP5_Update_5616-2.1 · SUSE:Linux Enterprise Live Patching 12 SP5Package registry (OSV)
suse:kgraft-patch-SLE12-SP5_Update_5910-2.1 · SUSE:Linux Enterprise Live Patching 12 SP5Package registry (OSV)

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.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2025-38352335 days apartposix-cpu-timers: fix race between handle_posix_cpu_timers() and posix_cpu_timer_del()KEV
    61This week
  • CVE-2023-2007485 days apartThe specific flaw exists within the DPT I2O Controller driver.
    31Monitor
  • CVE-2024-5023480 days apartwifi: iwlegacy: Clear stale interrupts before resuming device
    28Monitor
  • CVE-2021-4728092 days apartdrm: Fix use-after-free read in drm_getunique()
    28Monitor
  • CVE-2024-26974112 days apartcrypto: qat - resolve race condition during AER recovery
    28Monitor
  • CVE-2023-1295420 days apartPrivilege escalation with IO_RING_OP_CLOSE in the Linux Kernel
    28Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

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.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/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.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records