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

published

ima: Handle error code returned by ima_filter_rule_match()

Published
24 Dec 2025, 12:09:37 UTC
Updated
16 Jun 2026, 19:20:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux4af4662fa4a9dc62289c580337ae2506339c4729 to < d14e0ec6a6828ee0dffa163fb5d513c9a21f0a51 · 4af4662fa4a9dc62289c580337ae2506339c4729 to < f2f4627b74c120fcdd8e1db93bc91f9bbaf46f85 · 4af4662fa4a9dc62289c580337ae2506339c4729 to < 88cd5fbf5869731be8fc6f7cecb4e0d6ab3d8749 · 4af4662fa4a9dc62289c580337ae2506339c4729 to < cca3e7df3c0f99542033657ba850b9a6d27f8784 · 4af4662fa4a9dc62289c580337ae2506339c4729 to < c2238d487a640ae3511e1b6f4640ab27ce10d7f6 · 4af4662fa4a9dc62289c580337ae2506339c4729 to < de4431faf308d0c533cb386f5fa9af009bc86158 · 4af4662fa4a9dc62289c580337ae2506339c4729 to < 32952c4f4d1b2deb30dce72ba109da808a9018e1 · 4af4662fa4a9dc62289c580337ae2506339c4729 to < 738c9738e690f5cea24a3ad6fd2d9a323cf614f6 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.30 (affected) · 0 to < 2.6.30 (unaffected · semver) · 5.10.248 through 5.10.* (unaffected · semver) · 5.15.198 through 5.15.* (unaffected · semver) · 6.1.160 through 6.1.* (unaffected · semver) · 6.6.120 through 6.6.* (unaffected · semver) · 6.12.63 through 6.12.* (unaffected · semver) · 6.17.13 through 6.17.* (unaffected · semver) · 6.18.2 through 6.18.* (unaffected · semver) · 6.19 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-113 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2026-098 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1430 Fixed Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.162-1 DSA-6127-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2026-1494 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.249-1 DLA-4475-1
Debian bullseye linux-6.1 Advisory build 6.1.162-1~deb11u1 DLA-4476-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-318.199.3.2.el9uek ELSA-2026-50145
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-318.199.3.2.el9uek ELSA-2026-50145
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-318.199.3.2.el9uek ELSA-2026-50145
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-108.64.6.3.el9uek ELSA-2026-50112
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-318.199.3.2.el9uek ELSA-2026-50145
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-108.64.6.3.el9uek ELSA-2026-50112
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-318.199.3.2.el9uek ELSA-2026-50145
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-318.199.3.2.el9uek ELSA-2026-50145
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-318.199.3.2.el9uek ELSA-2026-50145
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-318.199.3.2.el9uek ELSA-2026-50145
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-318.199.3.2.el9uek ELSA-2026-50145

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: Handle error code returned by ima_filter_rule_match() In ima_match_rules(), if ima_filter_rule_match() returns -ENOENT due to the rule being NULL, the function incorrectly skips the 'if (!rc)' check and sets 'result = true'. The LSM rule is considered a match, causing extra files to be measured by IMA. This issue can be reproduced in the following scenario: After unloading the SELinux policy module via 'semodule -d', if an IMA measurement is triggered before ima_lsm_rules is updated, in ima_match_rules(), the first call to ima_filter_rule_match() returns -ESTALE. This causes the code to enter the 'if (rc == -ESTALE && !rule_reinitialized)' block, perform ima_lsm_copy_rule() and retry. In ima_lsm_copy_rule(), since the SELinux module has been removed, the rule becomes NULL, and the second call to ima_filter_rule_match() returns -ENOENT. This bypasses the 'if (!rc)' check and results in a false match. Call trace: selinux_audit_rule_match+0x310/0x3b8 security_audit_rule_match+0x60/0xa0 ima_match_rules+0x2e4/0x4a0 ima_match_policy+0x9c/0x1e8 ima_get_action+0x48/0x60 process_measurement+0xf8/0xa98 ima_bprm_check+0x98/0xd8 security_bprm_check+0x5c/0x78 search_binary_handler+0x6c/0x318 exec_binprm+0x58/0x1b8 bprm_execve+0xb8/0x130 do_execveat_common.isra.0+0x1a8/0x258 __arm64_sys_execve+0x48/0x68 invoke_syscall+0x50/0x128 el0_svc_common.constprop.0+0xc8/0xf0 do_el0_svc+0x24/0x38 el0_svc+0x44/0x200 el0t_64_sync_handler+0x100/0x130 el0t_64_sync+0x3c8/0x3d0 Fix this by changing 'if (!rc)' to 'if (rc <= 0)' to ensure that error codes like -ENOENT do not bypass the check and accidentally result in a successful match.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

60

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 4af4662fa4a9dc62289c580337ae2506339c4729 to < d14e0ec6a6828ee0dffa163fb5d513c9a21f0a51 (affected · git)4af4662fa4a9dc62289c580337ae2506339c4729 to < f2f4627b74c120fcdd8e1db93bc91f9bbaf46f85 (affected · git)4af4662fa4a9dc62289c580337ae2506339c4729 to < 88cd5fbf5869731be8fc6f7cecb4e0d6ab3d8749 (affected · git)4af4662fa4a9dc62289c580337ae2506339c4729 to < cca3e7df3c0f99542033657ba850b9a6d27f8784 (affected · git)4af4662fa4a9dc62289c580337ae2506339c4729 to < c2238d487a640ae3511e1b6f4640ab27ce10d7f6 (affected · git)4af4662fa4a9dc62289c580337ae2506339c4729 to < de4431faf308d0c533cb386f5fa9af009bc86158 (affected · git)4af4662fa4a9dc62289c580337ae2506339c4729 to < 32952c4f4d1b2deb30dce72ba109da808a9018e1 (affected · git)4af4662fa4a9dc62289c580337ae2506339c4729 to < 738c9738e690f5cea24a3ad6fd2d9a323cf614f6 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.30 (affected)0 to < 2.6.30 (unaffected · semver)5.10.248 through 5.10.* (unaffected · semver)5.15.198 through 5.15.* (unaffected · semver)6.1.160 through 6.1.* (unaffected · semver)6.6.120 through 6.6.* (unaffected · semver)6.12.63 through 6.12.* (unaffected · semver)6.17.13 through 6.17.* (unaffected · semver)6.18.2 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

2

Linux · cna

ima: Handle error code returned by ima_filter_rule_match()

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
9ed3a9f9783c4bc45cc1e4bb78dc8631b02b135fc66fbe33483de63bcb33bf41
Ingested
23 Sep 2026, 08:57:14 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