Linux KernelOperating system · Linux

CVE-2024-27414

MEDIUM · 5.5 CVSS v3.1 Published 2024-05-17
Fix available
A fix is available. Upgrade to 5.4.271 / 5.10.212 or later.
See remediation →
57/100
Remediation priority · Elevated
Zero-click Patch available

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
In the Linux kernel, the following vulnerability has been resolved: rtnetlink: fix error logic of IFLA_BRIDGE_FLAGS writing back In the commit d73ef2d69c0d ("rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length"), an adjustment was made to the old loop logic in the function `rtnl_bridge_setlink` to enable the loop to also check the length of the IFLA_BRIDGE_MODE attribute. However, this adjustment removed the `break` statement and led to an error logic of the flags writing back at the end of this function. if (have_flags) memcpy(nla_data(attr), &flags, sizeof(flags)); // attr should point to IFLA_BRIDGE_FLAGS NLA !!! Before the mentioned commit, the `attr` is granted to be IFLA_BRIDGE_FLAGS. However, this is not necessarily true fow now as the updated loop will let the attr point to the last NLA, even an invalid NLA which could cause overflow writes. This patch introduces a new variable `br_flag` to save the NLA pointer that points to IFLA_BRIDGE_FLAGS and uses it to resolve the mentioned error logic.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis

A detailed technical summary for this CVE is being prepared.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Linux KernelOperating system
Affected:>= 5.4.253, < 5.4.271>= 5.10.190, < 5.10.212>= 5.15.126, < 5.15.151>= 6.1.45, < 6.1.81>= 6.4.10, < 6.5>= 6.5.1, < 6.6.21>= 6.7, < 6.7.9= 6.5= 6.8
Debian LinuxOperating system
Affected:= 10.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 5.4.271 / 5.10.212 / 5.15.151 or later
Fixed in 5.4.2715.10.2125.15.151
Vendor patch git.kernel.org →
Recommended fix High confidence

Linux kernel 5.4.271 / 5.10.212 / 5.15.151 / 6.1.81 or later (or Debian 11+ for Debian users)

  1. 1. Identify the currently running kernel version using `uname -r`
  2. 2. Check if the running version is within any of the affected ranges: 5.4.253-5.4.270, 5.10.190-5.10.211, 5.15.126-5.15.150, or 6.1.45-6.1.80
  3. 3. If affected, upgrade the Linux kernel to a fixed version: 5.4.271+, 5.10.212+, 5.15.151+, or 6.1.81+
  4. 4. For Debian 10 (Buster), apply the vendor patch from https://git.kernel.org/stable/c/167d8642daa6a44b51de17f8ff0f584e1e762db7 or upgrade to a newer Debian release that includes the fixed kernel
  5. 5. Reboot the system to load the new kernel
  6. 6. Verify the fix by running `uname -r` and confirming the version is at or above the fixed release for your branch
Caveat Kernel upgrades may require reboot and could introduce compatibility issues with custom modules or specific hardware drivers; test in staging environment before production deployment

Generated from the published advisory — verify against the referenced sources before acting.

We can perform the upgrade in your staging environment and verify nothing breaks — typical engagement from $1,600. Get the upgrade done

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-27414 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-27414 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data