6.8

CVE-2025-68239: binfmt_misc: restore write access before closing files opened by open_exec()

Deferred
AliasesUBUNTU-CVE-2025-68239DEBIAN-CVE-2025-68239
Published 16-12-2025Last modified 15-10-2026

Vulnerability summary

CVE-2025-68239 is a medium (CVSS 6.8) vulnerability in linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.8/10
010
Medium · v4.0 (OSV · Ubuntu), selected by version preference
EPSS score
0.21%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 47 · Related 44

Timeline

  1. 16-12-2025
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: binfmt_misc: restore write access before closing files opened by open_exec() bm_register_write() opens an executable file using open_exec(), which internally calls do_open_execat() and denies write access on the file to avoid modification while it is being executed. However, when an error occurs, bm_register_write() closes the file using filp_close() directly. This does not restore the write permission, which may cause subsequent write operations on the same file to fail. Fix this by calling exe_file_allow_write_access() before filp_close() to restore the write permission properly.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

Probability

0.21%

Chance of exploitation in the next 30 days

Percentile

12%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.20% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu154 products
  • linuxAll versions (No fix recorded) | < 5.15.0-186.196 | < 6.8.0-136.136 | < 6.17.0-14.14
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1112.119 | < 6.8.0-1061.64 | < 6.17.0-1007.7
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian1 product
  • linux< 6.1.170-1 | < 6.12.85-1 | < 6.17.9-1
Linux1 product
  • linux≥ e7850f4d844e0acfac7e570af611d89deade3146, < 54274ff90488b6c0f595a6518faed3cf0bc966eb | ≥ e7850f4d844e0acfac7e570af611d89deade3146, < 480ac88431703f2adbb8e6b5bd73c3f3cf9f3d7f | ≥ e7850f4d844e0acfac7e570af611d89deade3146, < fbab8c08e1a6dbaef81e22d672a7647553101d16 | ≥ e7850f4d844e0acfac7e570af611d89deade3146, < 6cce7bc7fac8471c832696720d9c8f2a976d9c54 | ≥ e7850f4d844e0acfac7e570af611d89deade3146, < e785f552ab04dbca01d31f0334f4561240b04459 | ≥ e7850f4d844e0acfac7e570af611d89deade3146, < 90f601b497d76f40fa66795c3ecf625b6aced9fd | 467a50d5db7deaf656e18a1f633be9ecd94b393a | 4a8b4124ea4156ca52918b66c750a69c6d932aa5 | 3fe116e33a855bbfdd32dc207e9be2a41e3ed3a6 | c0e0ab60d0b15469e69db93215dad009999f5a5b | 5ab9464a2a3c538eedbb438f1802f2fd98d0953f | d28492be82e19fc69cc69975fc2052b37ef0c821 | ≥ 4.9.262, < 4.10 | ≥ 4.14.226, < 4.15 | ≥ 4.19.181, < 4.20 | ≥ 5.4.106, < 5.5 | ≥ 5.10.24, < 5.11 | ≥ 5.11.7, < 5.12 | 5.12

3 vendors · 156 products

References

44 links
Show all 44 references