CVE-2022-49267 Information

Description

In the Linux kernel the following vulnerability has been resolved:

mmc: core: use sysfs_emit() instead of sprintf()

sprintf() (still used in the MMC core for the sysfs output) is vulnerable to the buffer overflow. Use the new-fangled sysfs_emit() instead.

Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool.

Reference

https://git.kernel.org/stable/c/659ca56b5415c7a1d05e185c36fad80ba165d063 https://git.kernel.org/stable/c/c4ab65738ab3e21fe519ee46b2051222bc8e32ef https://git.kernel.org/stable/c/f5d8a5fe77ce933f53eb8f2e22bb7a1a2019ea11

Share on: