Home / Linux / Linux / CVE-2024-26629
CVE-2024-26629: is it exploited, and which versions of Linux are affected and fixed?
CVE-2024-26629 is an improper locking vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: Linux from 4.19.246 before 4.19.306, Linux from 5.10.120 before 5.10.220, Linux from 5.15.45 before 5.15.154 and 6 more (CVE record by Linux). Fixed in 4.19.306, 5.10.220, 5.15.154, 4.10 and 2 more (CVE record by Linux). Severity: Medium (5.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 28, 2026, 18:29 UTC and NVD November 19, 2026, 07:31 UTC.
What is CVE-2024-26629?
In the Linux kernel, the following vulnerability has been resolved: nfsd: fix RELEASE_LOCKOWNER The test on so_count in nfsd4_release_lockowner() is nonsense and harmful. Revert to using check_for_locks(), changing that to not sleep. First: harmful. As is documented in the kdoc comment for nfsd4_release_lockowner(), the test on so_count can transiently return a false positive resulting in a return of NFS4ERR_LOCKS_HELD when in fact no locks are held. This is clearly a protocol violation and with the Linux NFS client it can cause incorrect behaviour. If RELEASE_LOCKOWNER is sent while some other thread is still processing a LOCK request which failed because, at the time that request was received, the given owner held a conflicting lock, then the nfsd thread processing that LOCK request can hold a reference (conflock) to the lock owner that causes nfsd4_release_lockowner() to return an incorrect error. The Linux NFS client ignores that NFS4ERR_LOCKS_HELD error because it never sends NFS4_RELEASE_LOCKOWNER without first releasing any locks, so it knows that the error is impossible. It assumes the lock owner was in fact released so it feels free to use the same lock owner identifier in some later locking request. When it does reuse a lock owner identifier for which a previous RELEASE failed, it will naturally use a lock_seqid of zero. However the server, which didn't release the lock owner, will expect a larger lock_seqid and so will respond with NFS4ERR_BAD_SEQID. So clearly it is harmful to allow a false positive, which testing so_count allows. The test is nonsense because ... well... it doesn't mean anything. so_count is the sum of three different counts. 1/ the set of states listed on so_stateids 2/ the set of active vfs locks owned by any of those states 3/ various transient counts such as for conflicting locks. When it is tested against '2' it is clear that one of these is the transient reference obtained by find_lockowner_str_locked(). It is not clear what the other one is expected to be. In practice, the count is often 2 because there is precisely one state on so_stateids. If there were more, this would fail. In my testing I see two circumstances when RELEASE_LOCKOWNER is called. In one case, CLOSE is called before RELEASE_LOCKOWNER. That results in all the lock states being removed, and so the lockowner being discarded (it is removed when there are no more references which usually happens when the lock state is discarded). When nfsd4_release_lockowner() finds that the lock owner doesn't exist, it returns success. The other case shows an so_count of '2' and precisely one state listed in so_stateid. It appears that the Linux client uses a separate lock owner for each file resulting in one lock state per lock owner, so this test on '2' is safe. For another client it might not be safe. So this patch changes check_for_locks() to use the (newish) find_any_file_locked() so that it doesn't take a reference on the nfs4_file and so never calls nfsd_file_put(), and so never sleeps. With this check is it safe to restore the use of check_for_locks() rather than testing so_count against the mysterious '2'.
From the CVE record by Linux, last updated October 15, 2026, 00:38 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | from 4.19.246 before 4.19.306 from 5.10.120 before 5.10.220 from 5.15.45 before 5.15.154 from 4.9.317 before 4.10 from 4.14.282 before 4.15 from 5.4.197 before 5.5 from 5.17.13 before 5.18 from 5.18.2 before 5.19 | 4.19.306, 5.10.220, 5.15.154, 4.10, 4.15, 5.5, 5.18, 5.19 |
| Linux | Linux | from 5.19 until the fixed versions | 4.19.306, 5.10.220, 5.15.154, 6.1.79, 6.6.15, 6.7.3, 6.8 |
As the CVE record by Linux states it, last updated October 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | from 5.19 before 6.1.79 | operating system |
| linux | linux kernel | from 6.2 before 6.6.15 | operating system |
| linux | linux kernel | from 6.7 before 6.7.3 | operating system |
| linux | linux kernel | 6.8 | operating system |
NVD analysis (status Modified), last modified October 15, 2026, 01:17 UTC.
How severe is CVE-2024-26629?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-26629 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 21, 2024)
- EPSS
- 0.19% probability of exploitation activity in the next 30 days, percentile 9.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-667 Improper Locking
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/10d75984495f7fe62152c3b0dbfa3f0a6b739c9b
- https://git.kernel.org/stable/c/99fb654d01dc3f08b5905c663ad6c89a9d83302f
- https://git.kernel.org/stable/c/c6f8b3fcc62725e4129f2c0fd550d022d4a7685a
- https://git.kernel.org/stable/c/e4cf8941664cae2f89f0189c29fe2ce8c6be0d03
- https://git.kernel.org/stable/c/b7d2eee1f53899b53f069bba3a59a419fc3d331b
- https://git.kernel.org/stable/c/8f5b860de87039b007e84a28a5eefc888154e098
- https://git.kernel.org/stable/c/edcf9725150e42beeca42d085149f4c88fa97afd
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
When was it published, and where is the official record?
- Reserved
- February 19, 2024
- Published
- March 13, 2024, 14:01 UTC
- CVE record updated
- October 15, 2026, 00:38 UTC by Linux
- NVD
- Modified, last modified October 15, 2026, 01:17 UTC
- Last checked
- CVE list November 28, 2026, 18:29 UTC; NVD November 19, 2026, 07:31 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2024-26629
Is CVE-2024-26629 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.19% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Linux are affected by CVE-2024-26629?
Linux from 4.19.246 before 4.19.306, Linux from 5.10.120 before 5.10.220, Linux from 5.15.45 before 5.15.154, Linux from 4.9.317 before 4.10, Linux from 4.14.282 before 4.15, Linux from 5.4.197 before 5.5 and 3 more, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2024-26629?
4.19.306, 5.10.220, 5.15.154, 4.10, 4.15 and 5.5, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-26629?
Medium (5.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2024-26629?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.