Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-26868

published high CVSS 3.1 · 7.5

nfs: fix panic when nfs4_ff_layout_prepare_ds() fails

Published
17 Apr 2024, 10:27:29 UTC
Updated
05 Aug 2026, 11:27:55 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxb739a5bd9d9f18cc69dced8db128ef7206e000cd to < 31db25e3141b20e2a76a9f219eeca52e3cab126c · b739a5bd9d9f18cc69dced8db128ef7206e000cd to < 7ca651b4ec4a049f5a46a0e5ff921b86b91c47c5 · b739a5bd9d9f18cc69dced8db128ef7206e000cd to < 5ada9016b1217498fad876a3d5b07645cc955608 · b739a5bd9d9f18cc69dced8db128ef7206e000cd to < dac068f164ad05b35e7c0be13f138c3f6adca58f · b739a5bd9d9f18cc69dced8db128ef7206e000cd to < 719fcafe07c12646691bd62d7f8d94d657fa0766 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.1 (affected) · 0 to < 6.1 (unaffected · semver) · 6.1.83 through 6.1.* (unaffected · semver) · 6.6.23 through 6.6.* (unaffected · semver) · 6.7.11 through 6.7.* (unaffected · semver) · 6.8.2 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-696 Fixed Not stated Amazon Linux assessment
AlmaLinux 9 bpftool Advisory build 7.3.0-427.31.1.el9_4 ALSA-2024:5363
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.3.0-427.31.1.el9_4 ELSA-2024-5363
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.3.0-427.31.1.el9_4 RHSA-2024:5363
AlmaLinux 9 kernel Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 9 kernel-64k Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-core Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-debug Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-devel Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-doc Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-headers Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-modules Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-rt Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-tools Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 libperf Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 perf Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 python3-perf Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 rtla Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
AlmaLinux 9 rv Advisory build 5.14.0-427.31.1.el9_4 ALSA-2024:5363
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.3.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-debug-corex86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-debug-develx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-debug-devel-matchedx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-debug-modulesx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-debug-modules-corex86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-debug-modules-extrax86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-debug-uki-virtx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-develx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-devel-matchedx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-docx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-headersaarch64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-headersx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-modulesx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-modules-corex86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-modules-extrax86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-toolsaarch64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-toolsx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-tools-libsaarch64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-tools-libsx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-tools-libs-develaarch64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-tools-libs-develx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 kernel-uki-virtx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 libperfx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 perfaarch64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 perfx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 python3-perfaarch64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 python3-perfx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 rtlax86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363
Oracle Linux 9 rvx86_64 Advisory build 0:5.14.0-427.31.1.el9_4 ELSA-2024-5363

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: nfs: fix panic when nfs4_ff_layout_prepare_ds() fails We've been seeing the following panic in production BUG: kernel NULL pointer dereference, address: 0000000000000065 PGD 2f485f067 P4D 2f485f067 PUD 2cc5d8067 PMD 0 RIP: 0010:ff_layout_cancel_io+0x3a/0x90 [nfs_layout_flexfiles] Call Trace: <TASK> ? __die+0x78/0xc0 ? page_fault_oops+0x286/0x380 ? __rpc_execute+0x2c3/0x470 [sunrpc] ? rpc_new_task+0x42/0x1c0 [sunrpc] ? exc_page_fault+0x5d/0x110 ? asm_exc_page_fault+0x22/0x30 ? ff_layout_free_layoutreturn+0x110/0x110 [nfs_layout_flexfiles] ? ff_layout_cancel_io+0x3a/0x90 [nfs_layout_flexfiles] ? ff_layout_cancel_io+0x6f/0x90 [nfs_layout_flexfiles] pnfs_mark_matching_lsegs_return+0x1b0/0x360 [nfsv4] pnfs_error_mark_layout_for_return+0x9e/0x110 [nfsv4] ? ff_layout_send_layouterror+0x50/0x160 [nfs_layout_flexfiles] nfs4_ff_layout_prepare_ds+0x11f/0x290 [nfs_layout_flexfiles] ff_layout_pg_init_write+0xf0/0x1f0 [nfs_layout_flexfiles] __nfs_pageio_add_request+0x154/0x6c0 [nfs] nfs_pageio_add_request+0x26b/0x380 [nfs] nfs_do_writepage+0x111/0x1e0 [nfs] nfs_writepages_callback+0xf/0x30 [nfs] write_cache_pages+0x17f/0x380 ? nfs_pageio_init_write+0x50/0x50 [nfs] ? nfs_writepages+0x6d/0x210 [nfs] ? nfs_writepages+0x6d/0x210 [nfs] nfs_writepages+0x125/0x210 [nfs] do_writepages+0x67/0x220 ? generic_perform_write+0x14b/0x210 filemap_fdatawrite_wbc+0x5b/0x80 file_write_and_wait_range+0x6d/0xc0 nfs_file_fsync+0x81/0x170 [nfs] ? nfs_file_mmap+0x60/0x60 [nfs] __x64_sys_fsync+0x53/0x90 do_syscall_64+0x3d/0x90 entry_SYSCALL_64_after_hwframe+0x46/0xb0 Inspecting the core with drgn I was able to pull this >>> prog.crashed_thread().stack_trace()[0] #0 at 0xffffffffa079657a (ff_layout_cancel_io+0x3a/0x84) in ff_layout_cancel_io at fs/nfs/flexfilelayout/flexfilelayout.c:2021:27 >>> prog.crashed_thread().stack_trace()[0]['idx'] (u32)1 >>> prog.crashed_thread().stack_trace()[0]['flseg'].mirror_array[1].mirror_ds (struct nfs4_ff_layout_ds *)0xffffffffffffffed This is clear from the stack trace, we call nfs4_ff_layout_prepare_ds() which could error out initializing the mirror_ds, and then we go to clean it all up and our check is only for if (!mirror->mirror_ds). This is inconsistent with the rest of the users of mirror_ds, which have if (IS_ERR_OR_NULL(mirror_ds)) to keep from tripping over this exact scenario. Fix this up in ff_layout_cancel_io() to make sure we don't panic when we get an error. I also spot checked all the other instances of checking mirror_ds and we appear to be doing the correct checks everywhere, only unconditionally dereferencing mirror_ds when we know it would be valid.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

16

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scenarios
en: AV:N - The vulnerable code path is driven entirely by data from the remote NFS server — a malicious, compromised, or spoofed NFSv4.1/4.2 server forces GETDEVICEINFO to fail (error reply, malformed XDR, or no usable DS addresses), which is what plants the ERR_PTR that is later dereferenced. The NFS client processes this attacker-controlled protocol data over the network with no locality restriction. AC:L - The server-side attacker fully and deterministically controls the trigger: grant a flexfiles layout, then fail the GETDEVICEINFO for one of its device IDs, and the very next write/fsync on that inode panics the client. No race, no memory-layout grooming, and the flexfiles layout driver is present in default distro NFSv4.1 configurations. PR:N - The attacker acts as the NFS server (or an RPC-reply injector on the path) and needs no credentials or account on the victim client. Even in the purely local framing, any unprivileged user with write access to a file on the mount reaches nfs_writepages()→ff_layout_pg_init_write(), so no elevated privileges are required in any scenario. UI:N - No victim action is needed at exploit time — the mount is pre-existing infrastructure, and normal background writeback or any application fsync() drives the path automatically. A compromised server can simply wait for routine client I/O. S:U - The fault occurs in the NFS client within the kernel's own security authority; nothing crosses into another VM, hypervisor, or IOMMU/DMA boundary. C:N - The dereferenced value can only ever be ERR_PTR(-ENODEV), producing a fixed low address (0x65) below mmap_min_addr that faults immediately. No attacker data is read back and no kernel memory is disclosed. I:N - The bug is a read of an invalid fixed pointer with no write to kernel memory and no attacker influence over the faulting address, so there is no data modification or control-flow hijack primitive. A:H - The result is an unrecoverable kernel NULL-pointer dereference oops in writeback context (as captured in the production panic in the fix commit), taking down the client system. It can be re-triggered at will by the remote server, so affected clients can be kept permanently down.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux b739a5bd9d9f18cc69dced8db128ef7206e000cd to < 31db25e3141b20e2a76a9f219eeca52e3cab126c (affected · git)b739a5bd9d9f18cc69dced8db128ef7206e000cd to < 7ca651b4ec4a049f5a46a0e5ff921b86b91c47c5 (affected · git)b739a5bd9d9f18cc69dced8db128ef7206e000cd to < 5ada9016b1217498fad876a3d5b07645cc955608 (affected · git)b739a5bd9d9f18cc69dced8db128ef7206e000cd to < dac068f164ad05b35e7c0be13f138c3f6adca58f (affected · git)b739a5bd9d9f18cc69dced8db128ef7206e000cd to < 719fcafe07c12646691bd62d7f8d94d657fa0766 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.1 (affected)0 to < 6.1 (unaffected · semver)6.1.83 through 6.1.* (unaffected · semver)6.6.23 through 6.6.* (unaffected · semver)6.7.11 through 6.7.* (unaffected · semver)6.8.2 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

3

Linux · cna

nfs: fix panic when nfs4_ff_layout_prepare_ds() fails

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
916f594906d8dddf7b34700d0d9f0bf29fb5b620a483aab84832643c951cf715
Ingested
23 Sep 2026, 08:20:34 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected