Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-44981

MEDIUM 5.5EPSS 12%

workqueue: Fix UBSAN 'subtraction overflow' error in shift_and_mask()

Mitigation

  • Upgrade Linux to 38f7e14519d39cf524ddc02d4caee9b337dad703 or later.

Who should check

  • Anyone running Linux >= 1211f3b21c2aa0d22d8d7f050e3a5930a91cd0e4, < 90a6a844b2d9927d192758438a4ada33d8cd9de5; >= 1211f3b21c2aa0d22d8d7f050e3a5930a91cd0e4, < 38f7e14519d39cf524ddc02d4caee9b337dad703
  • Anyone running Linux 6.10

Vulnerability facts

Affected
Linux >= 1211f3b21c2aa0d22d8d7f050e3a5930a91cd0e4, < 90a6a844b2d9927d192758438a4ada33d8cd9de5; >= 1211f3b21c2aa0d22d8d7f050e3a5930a91cd0e4, < 38f7e14519d39cf524ddc02d4caee9b337dad703; Linux 6.10
Fixed in
Linux 90a6a844b2d9927d192758438a4ada33d8cd9de5, Linux 38f7e14519d39cf524ddc02d4caee9b337dad703
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
CWE
CWE-190
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: workqueue: Fix UBSAN 'subtraction overflow' error in shift_and_mask() UBSAN reports the following 'subtraction overflow' error when booting in a virtual machine on Android: | Internal error: UBSAN: integer subtraction overflow: 00000000f2005515 [#1] PREEMPT SMP | Modules linked in: | CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.10.0-00006-g3cbe9e5abd46-dirty #4 | Hardware name: linux,dummy-virt (DT) | pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) | pc : cancel_delayed_work+0x34/0x44 | lr : cancel_delayed_work+0x2c/0x44 | sp : ffff80008002ba60 | x29: ffff80008002ba60 x28: 0000000000000000 x27: 0000000000000000 | x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 | x23: 0000000000000000 x22: 0000000000000000 x21: ffff1f65014cd3c0 | x20: ffffc0e84c9d0da0 x19: ffffc0e84cab3558 x18: ffff800080009058 | x17: 00000000247ee1f8 x16: 00000000247ee1f8 x15: 00000000bdcb279d | x14: 0000000000000001 x13: 0000000000000075 x12: 00000a0000000000 | x11: ffff1f6501499018 x10: 00984901651fffff x9 : ffff5e7cc35af000 | x8 : 0000000000000001 x7 : 3d4d455453595342 x6 : 000000004e514553 | x5 : ffff1f6501499265 x4 : ffff1f650ff60b10 x3 : 0000000000000620 | x2 : ffff80008002ba78 x1 : 0000000000000000 x0 : 0000000000000000 | Call trace: | cancel_delayed_work+0x34/0x44 | deferred_probe_extend_timeout+0x20/0x70 | driver_register+0xa8/0x110 | __platform_driver_register+0x28/0x3c | syscon_init+0x24/0x38 | do_one_initcall+0xe4/0x338 | do_initcall_level+0xac/0x178 | do_initcalls+0x5c/0xa0 | do_basic_setup+0x20/0x30 | kernel_init_freeable+0x8c/0xf8 | kernel_init+0x28/0x1b4 | ret_from_fork+0x10/0x20 | Code: f9000fbf 97fffa2f 39400268 37100048 (d42aa2a0) | ---[ end trace 0000000000000000 ]--- | Kernel panic - not syncing: UBSAN: integer subtraction overflow: Fatal exception This is due to shift_and_mask() using a signed immediate to construct the mask and being called with a shift of 31 (WORK_OFFQ_POOL_SHIFT) so that it ends up decrementing from INT_MIN. Use an unsigned constant '1U' to generate the mask in shift_and_mask().

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 1211f3b21c2aa0d22d8d7f050e3a5930a91cd0e4, < 90a6a844b2d9927d192758438a4ada33d8cd9de5; >= 1211f3b21c2aa0d22d8d7f050e3a5930a91cd0e4, < 38f7e14519d39cf524ddc02d4caee9b337dad703—cvelist
Linux6.10—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-44981. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-44981.md
Affected: Linux >= 1211f3b21c2aa0d22d8d7f050e3a5930a91cd0e4, < 90a6a844b2d9927d192758438a4ada33d8cd9de5; >= 1211f3b21c2aa0d22d8d7f050e3a5930a91cd0e4, < 38f7e14519d39cf524ddc02d4caee9b337dad703; Linux 6.10
Fixed in: Linux 90a6a844b2d9927d192758438a4ada33d8cd9de5, Linux 38f7e14519d39cf524ddc02d4caee9b337dad703

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-44981 being exploited?

There is no confirmed exploitation: CVE-2024-44981 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-44981?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-44981?

Linux >= 1211f3b21c2aa0d22d8d7f050e3a5930a91cd0e4, < 90a6a844b2d9927d192758438a4ada33d8cd9de5; >= 1211f3b21c2aa0d22d8d7f050e3a5930a91cd0e4, < 38f7e14519d39cf524ddc02d4caee9b337dad703; Linux 6.10.

Is there a fix for CVE-2024-44981?

Yes. Fixed in Linux 90a6a844b2d9927d192758438a4ada33d8cd9de5, Linux 38f7e14519d39cf524ddc02d4caee9b337dad703. Upgrade Linux to 38f7e14519d39cf524ddc02d4caee9b337dad703 or later.

How do I check if I'm affected by CVE-2024-44981?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors