CVE-2022-49742

CVSS 3.1 Score 5.5 of 10 (medium)

Details

Published Mar 27, 2025
Updated: Apr 14, 2025
CWE ID 667

Summary

CVE-2022-49742 is a vulnerability affecting the Linux kernel's f2fs file system. The issue lies in the f2fs_fill_super() function, where the initialization of error-handling locks occurs before they are initialized. This sequence leads to lockdep warnings reported by syzbot at f2fs_handle_error(). To mitigate this issue, it is recommended to move the initialization of these locks and associated structures to immediately after memory allocation in the f2fs_fill_super() function. This change ensures secure locking during error handling and avoids potential deadlock scenarios.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share