{"id":"CVE-2022-48712","summary":"ext4: fix error handling in ext4_fc_record_modified_inode()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix error handling in ext4_fc_record_modified_inode()\n\nCurrent code does not fully takes care of krealloc() error case, which\ncould lead to silent memory corruption or a kernel bug.  This patch\nfixes that.\n\nAlso it cleans up some duplicated error handling logic from various\nfunctions in fast_commit.c file.","modified":"2026-04-02T08:26:54.784462Z","published":"2024-06-20T11:13:06.701Z","related":["SUSE-SU-2024:2372-1","SUSE-SU-2024:2394-1","SUSE-SU-2024:2902-1","SUSE-SU-2024:2929-1","SUSE-SU-2024:2939-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48712.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/14aa3f49c7fc6424763f4323bfbc3a807b0727dc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1b6762ecdf3cf12113772427c904aa3c420a1802"},{"type":"WEB","url":"https://git.kernel.org/stable/c/62e46e0ffc02daa8fcfc02f7a932cc8a19601b19"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cdce59a1549190b66f8e3fe465c2b2f714b98a94"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48712.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48712"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2"},{"fixed":"62e46e0ffc02daa8fcfc02f7a932cc8a19601b19"},{"fixed":"1b6762ecdf3cf12113772427c904aa3c420a1802"},{"fixed":"14aa3f49c7fc6424763f4323bfbc3a807b0727dc"},{"fixed":"cdce59a1549190b66f8e3fe465c2b2f714b98a94"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48712.json"}}],"schema_version":"1.7.5"}