Skip to content
Noroxi
CVE-2024-40978· NVD / CVE Program· CNA Linux

scsi: qedi: Fix crash while reading debugfs attribute

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.32% (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 144d76a676b630e321556965011b00e2de0b40a7, 21c963de2e86e88f6a8ca556bcebb8e62ab8e901, 28027ec8e32ecbadcd67623edb290dad61e735b5.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to Linux Linux 144d76a676b630e321556965011b00e2de0b40a7, 21c963de2e86e88f6a8ca556bcebb8e62ab8e901, 28027ec8e32ecbadcd67623edb290dad61e735b5 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

In the Linux kernel, the following vulnerability has been resolved: scsi: qedi: Fix crash while reading debugfs attribute The qedi_dbg_do_not_recover_cmd_read() function invokes sprintf() directly on a __user pointer, which results into the crash. To fix this issue, use a small local stack buffer for sprintf() and then call simple_read_from_buffer(), which in turns make the copy_to_user() call. BUG: unable to handle page fault for address: 00007f4801111000 PGD 8000000864df6067 P4D 8000000864df6067 PUD 864df7067 PMD 846028067 PTE 0 Oops: 0002 [#1] PREEMPT SMP PTI Hardware name: HPE ProLiant DL380 Gen10/ProLiant DL380 Gen10, BIOS U30 06/15/2023 RIP: 0010:memcpy_orig+0xcd/0x130 RSP: 0018:ffffb7a18c3ffc40 EFLAGS: 00010202 RAX: 00007f4801111000 RBX: 00007f4801111000 RCX: 000000000000000f RDX: 000000000000000f RSI: ffffffffc0bfd7a0 RDI: 00007f4801111000 RBP: ffffffffc0bfd7a0 R08: 725f746f6e5f6f64 R09: 3d7265766f636572 R10: ffffb7a18c3ffd08 R11: 0000000000000000 R12: 00007f4881110fff R13: 000000007fffffff R14: ffffb7a18c3ffca0 R15: ffffffffc0bfd7af FS: 00007f480118a740(0000) GS:ffff98e38af00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4801111000 CR3: 0000000864b8e001 CR4: 00000000007706e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 PKRU: 55555554 Call Trace: <TASK> ? __die_body+0x1a/0x60 ? page_fault_oops+0x183/0x510 ? exc_page_fault+0x69/0x150 ? asm_exc_page_fault+0x22/0x30 ? memcpy_orig+0xcd/0x130 vsnprintf+0x102/0x4c0 sprintf+0x51/0x80 qedi_dbg_do_not_recover_cmd_read+0x2f/0x50 [qedi 6bcfdeeecdea037da47069eca2ba717c84a77324] full_proxy_read+0x50/0x80 vfs_read+0xa5/0x2e0 ? folio_add_new_anon_rmap+0x44/0xa0 ? set_pte_at+0x15/0x30 ? do_pte_missing+0x426/0x7f0 ksys_read+0xa5/0xe0 do_syscall_64+0x58/0x80 ? __count_memcg_events+0x46/0x90 ? count_memcg_event_mm+0x3d/0x60 ? handle_mm_fault+0x196/0x2f0 ? do_user_addr_fault+0x267/0x890 ? exc_page_fault+0x69/0x150 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f4800f20b4d

HighCVSS 7.1 · v3.1—No exploit Fix available
Published
Jul 12, 2024
Updated
Jun 17, 2026
EPSS
0.3% · 23th percentile

Report tools

JSON

Action score

28

Monitor

Low priority for now.

CVSS
28 / 40 · 7.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

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-40978

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
  • Port scanning: 5 full scans a day (members only)
  • Uptime monitoring: 1 site, instant email when it goes down
  • Verify your domain: subdomains and takeover risk scanned every week
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
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.317
  • linux linux kernel4.20 and later · before 5.4.279
  • linux linux kernel5.5 and later · before 5.10.221
  • linux linux kernel5.11 and later · before 5.15.162
  • linux linux kernel5.16 and later · before 6.1.96
  • linux linux kernel6.2 and later · before 6.6.36
  • linux linux kernel6.7 and later · before 6.9.7

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

    • 4.10affected
    • ace7f46ba5fde7273207c7122b0650ceb72510e0 and later · before 56bec63a7fc87ad50b3373a87517dc9770eef9e0affected · git
    • ace7f46ba5fde7273207c7122b0650ceb72510e0 and later · before 21c963de2e86e88f6a8ca556bcebb8e62ab8e901affected · git
    • ace7f46ba5fde7273207c7122b0650ceb72510e0 and later · before 144d76a676b630e321556965011b00e2de0b40a7affected · git
    • ace7f46ba5fde7273207c7122b0650ceb72510e0 and later · before 397a8990c377ee4b61d6df768e61dff9e316d46baffected · git
    • ace7f46ba5fde7273207c7122b0650ceb72510e0 and later · before eaddb86637669f6bad89245ee63f8fb2bfb50241affected · git
    • ace7f46ba5fde7273207c7122b0650ceb72510e0 and later · before fa85b016a56b9775a3fe41e5d26e666945963b46affected · git
    • ace7f46ba5fde7273207c7122b0650ceb72510e0 and later · before e2f433ea7d0ff77998766a088a287337fb43ad75affected · git
    • ace7f46ba5fde7273207c7122b0650ceb72510e0 and later · before 28027ec8e32ecbadcd67623edb290dad61e735b5affected · git
    • before 4.10not 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.99-16.1.99-1
Debian:13linuxbefore 6.9.7-16.9.7-1
Red Hat:rhel_e4s:9.0::appstreambpftool-debuginfobefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::appstreamkernel-debug-debuginfobefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::appstreamkernel-debug-develbefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::appstreamkernel-debug-devel-matchedbefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::appstreamkernel-debuginfobefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::appstreamkernel-debuginfo-common-aarch64before 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::appstreamkernel-debuginfo-common-ppc64lebefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::appstreamkernel-debuginfo-common-s390xbefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::appstreamkernel-debuginfo-common-x86_64before 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::appstreamkernel-develbefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::appstreamkernel-devel-matchedbefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::appstreamkernel-docbefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::appstreamkernel-tools-debuginfobefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::appstreamkernel-zfcpdump-debuginfobefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::appstreamkernel-zfcpdump-develbefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::appstreamkernel-zfcpdump-devel-matchedbefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::appstreamperfbefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::appstreamperf-debuginfobefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::appstreampython3-perf-debuginfobefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::baseosbpftoolbefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::baseoskernelbefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0
Red Hat:rhel_e4s:9.0::baseoskernel-abi-stablelistsbefore 0:5.14.0-70.112.1.el9_00:5.14.0-70.112.1.el9_0

+96

Other highest-scoring records for the same primary product.

  • 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
  • CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV
    83Now
  • CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV
    77This week
  • CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV
    77This week
  • CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV
    77This week

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 Linux144d76a676b630e321556965011b00e2de0b40a7Vendor (CNA)
Linux Linux21c963de2e86e88f6a8ca556bcebb8e62ab8e901Vendor (CNA)
Linux Linux28027ec8e32ecbadcd67623edb290dad61e735b5Vendor (CNA)
Linux Linux397a8990c377ee4b61d6df768e61dff9e316d46bVendor (CNA)
Linux Linux56bec63a7fc87ad50b3373a87517dc9770eef9e0Vendor (CNA)
Linux Linuxe2f433ea7d0ff77998766a088a287337fb43ad75Vendor (CNA)
Linux Linuxeaddb86637669f6bad89245ee63f8fb2bfb50241Vendor (CNA)
Linux Linuxfa85b016a56b9775a3fe41e5d26e666945963b46Vendor (CNA)
debian:linux6.1.99-1 · Debian:12Package registry (OSV)
red hat:kernel-rt0:5.14.0-70.112.1.rt21.184.el9_0 · Red Hat:rhel_e4s:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-core0:5.14.0-70.112.1.rt21.184.el9_0 · Red Hat:rhel_e4s:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-debug0:5.14.0-70.112.1.rt21.184.el9_0 · Red Hat:rhel_e4s:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-debug-core0:5.14.0-70.112.1.rt21.184.el9_0 · Red Hat:rhel_e4s:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-debug-debuginfo0:5.14.0-70.112.1.rt21.184.el9_0 · Red Hat:rhel_e4s:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-debug-devel0:5.14.0-70.112.1.rt21.184.el9_0 · Red Hat:rhel_e4s:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-debug-kvm0:5.14.0-70.112.1.rt21.184.el9_0 · Red Hat:rhel_e4s:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-debug-modules0:5.14.0-70.112.1.rt21.184.el9_0 · Red Hat:rhel_e4s:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-debug-modules-extra0:5.14.0-70.112.1.rt21.184.el9_0 · Red Hat:rhel_e4s:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-debuginfo0:5.14.0-70.112.1.rt21.184.el9_0 · Red Hat:rhel_e4s:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-debuginfo-common-x86_640:5.14.0-70.112.1.rt21.184.el9_0 · Red Hat:rhel_e4s:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-devel0:5.14.0-70.112.1.rt21.184.el9_0 · Red Hat:rhel_e4s:9.0::nfvPackage 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.

No nightly-computed relations.

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.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
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
High
Integrity impact
None
Availability impact
High

Weakness class (CWE)

CWE-125 · Out-of-bounds Read

CVSS vector

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

ATT&CK techniques

—

Change log

  1. Fix✗ → ✓

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

References

All records