{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53224","id":"CVE-2023-53224","title":"ext4: Fix function prototype mismatch for ext4_feat_ktype","description":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: Fix function prototype mismatch for ext4_feat_ktype\n\nWith clang's kernel control flow integrity (kCFI, CONFIG_CFI_CLANG),\nindirect call targets are validated against the expected function\npointer prototype to make sure the call target is valid to help mitigate\nROP attacks. If they are not identical, there is a failure at ru","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: Fix function prototype mismatch for ext4_feat_ktype\n\nWith clang's kernel control flow integrity (kCFI, CONFIG_CFI_CLANG),\nindirect call targets are validated against the expected function\npointer prototype to make sure the call target is valid to help mitigate\nROP attacks. If they are not identical, there is a failure at run time,\nwhich manifests as either a kernel panic or thread getting killed.\n\next4_feat_ktype was setting the \"release\" handler to \"kfree\", which\ndoesn't have a matching function prototype. Add a simple wrapper\nwith the correct prototype.\n\nThis was found as a result of Clang's new -Wcast-function-type-strict\nflag, which is more sensitive than the simpler -Wcast-function-type,\nwhich only checks for type width mismatches.\n\nNote that this code is only reached when ext4 is a loadable module and\nit is being unloaded:\n\n CFI failure at kobject_put+0xbb/0x1b0 (target: kfree+0x0/0x180; expected type: 0x7c4aa698)\n ...\n RIP: 0010:kobject_put+0xbb/0x1b0\n ...\n Call Trace:\n  <TASK>\n  ext4_exit_sysfs+0x14/0x60 [ext4]\n  cleanup_module+0x67/0xedb [ext4]","published":"2025-09-15T14:21:53.061Z","updated":"2026-10-28T02:31:08.308382474Z","reserved":"2025-09-15T14:19:21.846Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b99fee58a20ab8e0557cce87b6f187e325993142","lessThan":"2b69cdd9f9a7f596e3dd31f05f9852940d177924","status":"affected","versionType":"git"},{"version":"b99fee58a20ab8e0557cce87b6f187e325993142","lessThan":"99e3fd21f8fc975c95e8cf76fbf6a3d2656f8f71","status":"affected","versionType":"git"},{"version":"b99fee58a20ab8e0557cce87b6f187e325993142","lessThan":"1ba10d3640e9783dad811fe4e24d55465c37c64d","status":"affected","versionType":"git"},{"version":"b99fee58a20ab8e0557cce87b6f187e325993142","lessThan":"c98077f7598a562f51051eec043be0cb3e1b1b5e","status":"affected","versionType":"git"},{"version":"b99fee58a20ab8e0557cce87b6f187e325993142","lessThan":"0a1394e07c5d6bf1bfc25db8589ff1b1bfb6f46a","status":"affected","versionType":"git"},{"version":"b99fee58a20ab8e0557cce87b6f187e325993142","lessThan":"94d8de83286fb1827340eba35b61c308f6b46ead","status":"affected","versionType":"git"},{"version":"b99fee58a20ab8e0557cce87b6f187e325993142","lessThan":"118901ad1f25d2334255b3d50512fa20591531cd","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.16","status":"affected"},{"version":"0","lessThan":"4.16","status":"unaffected","versionType":"semver"},{"version":"4.19.274","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.233","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.170","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.96","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.14","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2.1","lessThanOrEqual":"6.2.*","status":"unaffected","versionType":"semver"},{"version":"6.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/2b69cdd9f9a7f596e3dd31f05f9852940d177924","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/99e3fd21f8fc975c95e8cf76fbf6a3d2656f8f71","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1ba10d3640e9783dad811fe4e24d55465c37c64d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c98077f7598a562f51051eec043be0cb3e1b1b5e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0a1394e07c5d6bf1bfc25db8589ff1b1bfb6f46a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/94d8de83286fb1827340eba35b61c308f6b46ead","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/118901ad1f25d2334255b3d50512fa20591531cd","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53224.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53224","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00166,"epssPercentile":0.0599,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53224","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53224","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53224","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53224","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}