{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2022-50050", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2025-06-18T10:57:27.402Z", "datePublished": "2025-06-18T11:01:50.642Z", "dateUpdated": "2026-05-11T19:11:52.830Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-05-11T19:11:52.830Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: Intel: hda: Fix potential buffer overflow by snprintf()\n\nsnprintf() returns the would-be-filled size when the string overflows\nthe given buffer size, hence using this value may result in the buffer\noverflow (although it's unrealistic).\n\nThis patch replaces with a safer version, scnprintf() for papering\nover such a potential issue." } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "sound/soc/sof/intel/hda.c" ], "versions": [ { "version": "29c8e4398f02adacd429c7847dacc8aea5a0c2f1", "lessThan": "6ee1310f4d148dbf04c4159b88afd0b941018903", "status": "affected", "versionType": "git" }, { "version": "29c8e4398f02adacd429c7847dacc8aea5a0c2f1", "lessThan": "f7915c5614a7ece117ec390f21a410531eac48de", "status": "affected", "versionType": "git" }, { "version": "29c8e4398f02adacd429c7847dacc8aea5a0c2f1", "lessThan": "94c1ceb043c1a002de9649bb630c8e8347645982", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "sound/soc/sof/intel/hda.c" ], "versions": [ { "version": "5.10", "status": "affected" }, { "version": "0", "lessThan": "5.10", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.63", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.19.4", "lessThanOrEqual": "5.19.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.0", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.10", "versionEndExcluding": "5.15.63" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.10", "versionEndExcluding": "5.19.4" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.10", "versionEndExcluding": "6.0" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/6ee1310f4d148dbf04c4159b88afd0b941018903" }, { "url": "https://git.kernel.org/stable/c/f7915c5614a7ece117ec390f21a410531eac48de" }, { "url": "https://git.kernel.org/stable/c/94c1ceb043c1a002de9649bb630c8e8347645982" } ], "title": "ASoC: SOF: Intel: hda: Fix potential buffer overflow by snprintf()", "x_generator": { "engine": "bippy-1.2.0" } } } }