{"id":"CVE-2022-49267","summary":"mmc: core: use sysfs_emit() instead of sprintf()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: core: use sysfs_emit() instead of sprintf()\n\nsprintf() (still used in the MMC core for the sysfs output) is vulnerable\nto the buffer overflow.  Use the new-fangled sysfs_emit() instead.\n\nFound by Linux Verification Center (linuxtesting.org) with the SVACE static\nanalysis tool.","modified":"2026-04-10T04:53:21.801564Z","published":"2025-02-26T01:56:16.211Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49267.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0f55ac683b2722714016f16daae9cab3f7f7b9f9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/659ca56b5415c7a1d05e185c36fad80ba165d063"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c4ab65738ab3e21fe519ee46b2051222bc8e32ef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f5d8a5fe77ce933f53eb8f2e22bb7a1a2019ea11"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49267.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49267"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"},{"fixed":"0f55ac683b2722714016f16daae9cab3f7f7b9f9"},{"fixed":"659ca56b5415c7a1d05e185c36fad80ba165d063"},{"fixed":"c4ab65738ab3e21fe519ee46b2051222bc8e32ef"},{"fixed":"f5d8a5fe77ce933f53eb8f2e22bb7a1a2019ea11"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49267.json"}}],"schema_version":"1.7.5"}