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-2025-68183

published high CVSS 3.1 · 7.8

ima: don't clear IMA_DIGSIG flag when setting or removing non-IMA xattr

Published
16 Dec 2025, 13:43:01 UTC
Updated
30 Oct 2026, 12:23:06 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxe3ccfe1ad7d895487977ef64eda3441d16c9851a to < 7d9ae9d4d45b28c18ca06ae047aabe09d9639643 · e3ccfe1ad7d895487977ef64eda3441d16c9851a to < d2993a7e98eb70c737c6f5365a190e79c72b8407 · e3ccfe1ad7d895487977ef64eda3441d16c9851a to < edd824eb45e4f7e05ad3ab090dab6dbdb79cd292 · e3ccfe1ad7d895487977ef64eda3441d16c9851a to < 02aa671c08a4834bef5166743a7b88686fbfa023 · e3ccfe1ad7d895487977ef64eda3441d16c9851a to < 88b4cbcf6b041ae0f2fc8a34554a5b6a83a2b7cd · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.14 (affected) · 0 to < 5.14 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.117 through 6.6.* (unaffected · semver) · 6.12.58 through 6.12.* (unaffected · semver) · 6.17.8 through 6.17.* (unaffected · semver) · 6.18 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 evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1495 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-211.18.1.el10_2 ALSA-2026:21557
AlmaLinux 10 kernel-doc Advisory build 6.12.0-211.18.1.el10_2 ALSA-2026:21557
AlmaLinux 8 bpftool Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 kernel Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.126.1.rt7.467.el8_10 ALSA-2026:21745
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.126.1.rt7.467.el8_10 ALSA-2026:21745
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.126.1.rt7.467.el8_10 ALSA-2026:21745
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.126.1.rt7.467.el8_10 ALSA-2026:21745
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.126.1.rt7.467.el8_10 ALSA-2026:21745
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.126.1.rt7.467.el8_10 ALSA-2026:21745
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.126.1.rt7.467.el8_10 ALSA-2026:21745
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.126.1.rt7.467.el8_10 ALSA-2026:21745
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.126.1.rt7.467.el8_10 ALSA-2026:21745
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.126.1.rt7.467.el8_10 ALSA-2026:21745
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 perf Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.126.1.el8_10 ALSA-2026:21706
AlmaLinux 9 kernel Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-64k Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-core Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-debug Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-devel Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-doc Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-headers Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-modules Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-tools Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-687.12.1.el9_8 ALSA-2026:21556

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

Description

In the Linux kernel, the following vulnerability has been resolved: ima: don't clear IMA_DIGSIG flag when setting or removing non-IMA xattr Currently when both IMA and EVM are in fix mode, the IMA signature will be reset to IMA hash if a program first stores IMA signature in security.ima and then writes/removes some other security xattr for the file. For example, on Fedora, after booting the kernel with "ima_appraise=fix evm=fix ima_policy=appraise_tcb" and installing rpm-plugin-ima, installing/reinstalling a package will not make good reference IMA signature generated. Instead IMA hash is generated, # getfattr -m - -d -e hex /usr/bin/bash # file: usr/bin/bash security.ima=0x0404... This happens because when setting security.selinux, the IMA_DIGSIG flag that had been set early was cleared. As a result, IMA hash is generated when the file is closed. Similarly, IMA signature can be cleared on file close after removing security xattr like security.evm or setting/removing ACL. Prevent replacing the IMA file signature with a file hash, by preventing the IMA_DIGSIG flag from being reset. Here's a minimal C reproducer which sets security.selinux as the last step which can also replaced by removing security.evm or setting ACL, #include <stdio.h> #include <sys/xattr.h> #include <fcntl.h> #include <unistd.h> #include <string.h> #include <stdlib.h> int main() { const char* file_path = "/usr/sbin/test_binary"; const char* hex_string = "030204d33204490066306402304"; int length = strlen(hex_string); char* ima_attr_value; int fd; fd = open(file_path, O_WRONLY|O_CREAT|O_EXCL, 0644); if (fd == -1) { perror("Error opening file"); return 1; } ima_attr_value = (char*)malloc(length / 2 ); for (int i = 0, j = 0; i < length; i += 2, j++) { sscanf(hex_string + i, "%2hhx", &ima_attr_value[j]); } if (fsetxattr(fd, "security.ima", ima_attr_value, length/2, 0) == -1) { perror("Error setting extended attribute"); close(fd); return 1; } const char* selinux_value= "system_u:object_r:bin_t:s0"; if (fsetxattr(fd, "security.selinux", selinux_value, strlen(selinux_value), 0) == -1) { perror("Error setting extended attribute"); close(fd); return 1; } close(fd); return 0; }

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

58

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - Triggering requires local syscalls against a file on the system — `setxattr`/`fsetxattr` on an EVM-protected xattr, `setfacl`, or `fremovexattr` — followed by an open/close of the target file. No network, adjacent-network, or physical path reaches the IMA appraisal hooks. AC:L - The commit ships a deterministic reproducer: setting any EVM-protected xattr or a POSIX ACL unconditionally clears IMA_DIGSIG every time, with no memory-layout or timing luck involved. The enforce-mode variant needs a race against `process_measurement()`'s `MAY_WRITE` check, but `ima_reset_appraise_flags()` takes no `iint->mutex`, and the attacker drives both sides (one thread spinning on `setxattr("system.posix_acl_access")`, another on `open(O_WRONLY)`); the required IMA-appraise + EVM configuration is a shipped, supported Fedora/RHEL setup, not a rare build option. PR:L - `vfs_set_acl()` invokes `security_inode_set_acl()` → `ima_inode_set_acl()` → `ima_reset_appraise_flags(inode, 0)` before `set_posix_acl()` ever reaches its `inode_owner_or_capable()` check, so an unprivileged user with no capabilities and no ownership of the file clears the cached IMA_DIGSIG bit on any signed appraised binary — the syscall fails with -EPERM only after the flag is already gone. No CAP_SYS_ADMIN is needed for this path, unlike the `security.ima` path guarded by `ima_protect_xattr()`. UI:N - The attacker performs the xattr/ACL operation and the file open/close entirely from their own process; no victim must mount a filesystem, open a file, or take any other action for the IMA_DIGSIG flag to be cleared and the signature to be replaced. S:U - The defeated control (IMA appraisal) and the affected resources (files and their security xattrs) live in the same kernel security authority; no VM, hypervisor, IOMMU, or sandbox boundary is crossed. C:H - Clearing IMA_DIGSIG both drops the "signed files cannot be opened for write" enforcement at `ima_main.c:472` and lets `ima_update_xattr()` re-bless the modified content with a fresh hash plus EVM HMAC, so attacker-substituted content in an appraised executable passes appraisal and subsequently runs — typically in a privileged/service context — yielding full disclosure of data reachable by that code. This is the standard treatment of a code-integrity/signature-verification bypass; the bug itself contains no direct memory-read primitive. I:H - The file's IMA digital signature — the one integrity artifact a local attacker cannot forge, since it is verified against the trusted IMA keyring — is silently destroyed and replaced by a locally computed hash written through `__vfs_setxattr_noperm()`, which bypasses the `CAP_SYS_ADMIN` gate in `ima_protect_xattr()`. Combined with the lost write-block, this converts "signed and immutable" into "mutable and re-blessed on close", a complete integrity bypass of IMA appraisal for the affected file. A:H - Once a signature is replaced by a plain hash, any policy carrying IMA_DIGSIG_REQUIRED (`appraise_type=imasig`) rejects that file in enforce mode, so appraised binaries become permanently unexecutable — applied to system-critical files such as init, sshd, or libc consumers this denies service and can leave the system unbootable, and the corrupted xattr persists on disk until the file is re-signed out of band.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux e3ccfe1ad7d895487977ef64eda3441d16c9851a to < 7d9ae9d4d45b28c18ca06ae047aabe09d9639643 (affected · git)e3ccfe1ad7d895487977ef64eda3441d16c9851a to < d2993a7e98eb70c737c6f5365a190e79c72b8407 (affected · git)e3ccfe1ad7d895487977ef64eda3441d16c9851a to < edd824eb45e4f7e05ad3ab090dab6dbdb79cd292 (affected · git)e3ccfe1ad7d895487977ef64eda3441d16c9851a to < 02aa671c08a4834bef5166743a7b88686fbfa023 (affected · git)e3ccfe1ad7d895487977ef64eda3441d16c9851a to < 88b4cbcf6b041ae0f2fc8a34554a5b6a83a2b7cd (affected · git)Default: unaffected Linux · cna
Linux Linux 5.14 (affected)0 to < 5.14 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.117 through 6.6.* (unaffected · semver)6.12.58 through 6.12.* (unaffected · semver)6.17.8 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

2

Linux · cna

ima: don't clear IMA_DIGSIG flag when setting or removing non-IMA xattr

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
c7668ead4f5017594f41fa2c91f43a57f6450ac63d7b1d8fade45a3f27bd0e06
Ingested
30 Oct 2026, 12:31:36 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