CVE-2023-53224ext4: Fix function prototype mismatch for ext4_feat_ktype
- 5.5MediumCVSS base score
- 0.17%Exploitation in 30 daysEPSS · top 94% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: Fix function prototype mismatch for ext4_feat_ktype With clang's kernel control flow integrity (kCFI, CONFIG_CFI_CLANG), indirect call targets are validated against the expected function pointer prototype to make sure the call target is valid to help mitigate ROP attacks. If they are not identical, there is a failure at run time, which manifests as either a kernel panic or thread getting killed. ext4_feat_ktype was setting the "release" handler to "kfree", which doesn't have a matching function prototype. Add a simple wrapper with the correct prototype. This was found as a result of Clang's new -Wcast-function-type-strict flag, which is more sensitive than the simpler -Wcast-function-type, which only checks for type width mismatches. Note that this code is only reached when ext4 is a loadable module and it is being unloaded: CFI failure at kobject_put+0xbb/0x1b0 (target: kfree+0x0/0x180; expected type: 0x7c4aa698) ... RIP: 0010:kobject_put+0xbb/0x1b0 ... Call Trace: <TASK> ext4_exit_sysfs+0x14/0x60 [ext4] cleanup_module+0x67/0xedb [ext4]
Timeline
ID reserved
By Linux
Published
- 8 months later
· 8 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.17% · top 94% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected b99fee58a20ab8e0557cce87b6f187e325993142 – < 2b69cdd9f9a7f596e3dd31f05f9852940d177924
- affected b99fee58a20ab8e0557cce87b6f187e325993142 – < 99e3fd21f8fc975c95e8cf76fbf6a3d2656f8f71
- affected b99fee58a20ab8e0557cce87b6f187e325993142 – < 1ba10d3640e9783dad811fe4e24d55465c37c64d
- affected b99fee58a20ab8e0557cce87b6f187e325993142 – < c98077f7598a562f51051eec043be0cb3e1b1b5e
- affected b99fee58a20ab8e0557cce87b6f187e325993142 – < 0a1394e07c5d6bf1bfc25db8589ff1b1bfb6f46a
- affected b99fee58a20ab8e0557cce87b6f187e325993142 – < 94d8de83286fb1827340eba35b61c308f6b46ead
- affected b99fee58a20ab8e0557cce87b6f187e325993142 – < 118901ad1f25d2334255b3d50512fa20591531cd
- affected 4.16
- unaffected < 4.16
- unaffected 4.19.274 – ≤ 4.19.*
- unaffected 5.4.233 – ≤ 5.4.*
- unaffected 5.10.170 – ≤ 5.10.*
- unaffected 5.15.96 – ≤ 5.15.*
- unaffected 6.1.14 – ≤ 6.1.*
- unaffected 6.2.1 – ≤ 6.2.*
- unaffected 6.3 – ≤ *
References
References7
- https://git.kernel.org/stable/c/2b69cdd9f9a7f596e3dd31f05f9852940d177924 (opens in a new tab)
- https://git.kernel.org/stable/c/99e3fd21f8fc975c95e8cf76fbf6a3d2656f8f71 (opens in a new tab)
- https://git.kernel.org/stable/c/1ba10d3640e9783dad811fe4e24d55465c37c64d (opens in a new tab)
- https://git.kernel.org/stable/c/c98077f7598a562f51051eec043be0cb3e1b1b5e (opens in a new tab)
- https://git.kernel.org/stable/c/0a1394e07c5d6bf1bfc25db8589ff1b1bfb6f46a (opens in a new tab)
- https://git.kernel.org/stable/c/94d8de83286fb1827340eba35b61c308f6b46ead (opens in a new tab)
- https://git.kernel.org/stable/c/118901ad1f25d2334255b3d50512fa20591531cd (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-59860 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-53224)Record last updated .