In the Linux kernel, the following vulnerability has been resolved:
iommu/vt-d: Clean up sidomain in the initdmars() error path
A splat from kmemcachedestroy() was seen with a kernel prior to commit ee2653bbe89d ("iommu/vt-d: Remove domain and devinfo mempool") when there was a failure in initdmars(), because the iommudomain cache still had objects. While the mempool code is now gone, there still is a leak of the sidomain memory if initdmars() fails. So clean up sidomain in the initdmars() error path.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50482.json",
"cna_assigner": "Linux"
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50482.json"
[
{
"target": {
"file": "drivers/iommu/intel/iommu.c",
"function": "init_dmars"
},
"digest": {
"function_hash": "177948312902242854140492594355676689842",
"length": 2608.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d74196bb278b8f8af88e16bd595997dfa3d6fdb0",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-0689aee6",
"signature_type": "Function"
},
{
"target": {
"file": "drivers/iommu/intel-iommu.c"
},
"digest": {
"line_hashes": [
"287947484889912924370707294023054732000",
"76294417578593916208751336663861866626",
"205299099564884622216972339284597945350",
"89309293257167919351874034702657683549",
"322007327115218112103695121815088944724",
"119908653958275790070974947940178992228",
"177774582594682076742980272473454294000",
"213033544137705801324606493829173517755"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@724483b585a1b1e063d42ac5aa835707ff2ec165",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-0710dd3b",
"signature_type": "Line"
},
{
"target": {
"file": "drivers/iommu/intel-iommu.c",
"function": "init_dmars"
},
"digest": {
"function_hash": "101906528352707584514407451677502406038",
"length": 3191.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@749bea542b67513e99240dc58bbfc099e842d508",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-16f96cb4",
"signature_type": "Function"
},
{
"target": {
"file": "drivers/iommu/intel/iommu.c",
"function": "si_domain_init"
},
"digest": {
"function_hash": "323462090816525474021414833234927914886",
"length": 959.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0365d6af75f9f2696e94a0fef24a2c8464c037c8",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-1ea9af33",
"signature_type": "Function"
},
{
"target": {
"file": "drivers/iommu/intel/iommu.c"
},
"digest": {
"line_hashes": [
"287947484889912924370707294023054732000",
"76294417578593916208751336663861866626",
"205299099564884622216972339284597945350",
"89309293257167919351874034702657683549",
"322007327115218112103695121815088944724",
"119908653958275790070974947940178992228",
"177774582594682076742980272473454294000",
"213033544137705801324606493829173517755"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d74196bb278b8f8af88e16bd595997dfa3d6fdb0",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-20bf578f",
"signature_type": "Line"
},
{
"target": {
"file": "drivers/iommu/intel/iommu.c",
"function": "init_dmars"
},
"digest": {
"function_hash": "12277235816664288286272739207245154912",
"length": 2024.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@620bf9f981365c18cc2766c53d92bf8131c63f32",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-20c3f385",
"signature_type": "Function"
},
{
"target": {
"file": "drivers/iommu/intel-iommu.c"
},
"digest": {
"line_hashes": [
"287947484889912924370707294023054732000",
"76294417578593916208751336663861866626",
"205299099564884622216972339284597945350",
"124490658237219482421300214960877660700",
"322007327115218112103695121815088944724",
"119908653958275790070974947940178992228",
"177774582594682076742980272473454294000",
"213033544137705801324606493829173517755"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5cecfe151874b835331efe086bbdcaeaf64f6b90",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-29f92532",
"signature_type": "Line"
},
{
"target": {
"file": "drivers/iommu/intel-iommu.c",
"function": "init_dmars"
},
"digest": {
"function_hash": "113465788691682415085524307645140936768",
"length": 3332.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5cecfe151874b835331efe086bbdcaeaf64f6b90",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-56d66ffd",
"signature_type": "Function"
},
{
"target": {
"file": "drivers/iommu/intel-iommu.c",
"function": "si_domain_init"
},
"digest": {
"function_hash": "23690395222727804000407365620532333843",
"length": 580.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5cecfe151874b835331efe086bbdcaeaf64f6b90",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-6260a300",
"signature_type": "Function"
},
{
"target": {
"file": "drivers/iommu/intel/iommu.c",
"function": "si_domain_init"
},
"digest": {
"function_hash": "38122901975000106818772342323938636162",
"length": 953.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@620bf9f981365c18cc2766c53d92bf8131c63f32",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-78c904e9",
"signature_type": "Function"
},
{
"target": {
"file": "drivers/iommu/intel/iommu.c"
},
"digest": {
"line_hashes": [
"287947484889912924370707294023054732000",
"76294417578593916208751336663861866626",
"205299099564884622216972339284597945350",
"89309293257167919351874034702657683549",
"322007327115218112103695121815088944724",
"224327215022154312785492017858756065469",
"277514919125161699391981421912143184952",
"86031789301288974578876030872251644557"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@620bf9f981365c18cc2766c53d92bf8131c63f32",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-7f075d09",
"signature_type": "Line"
},
{
"target": {
"file": "drivers/iommu/intel-iommu.c",
"function": "si_domain_init"
},
"digest": {
"function_hash": "76754791804248899935598182822851412478",
"length": 905.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@724483b585a1b1e063d42ac5aa835707ff2ec165",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-86644a53",
"signature_type": "Function"
},
{
"target": {
"file": "drivers/iommu/intel/iommu.c",
"function": "si_domain_init"
},
"digest": {
"function_hash": "38122901975000106818772342323938636162",
"length": 953.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4ad3ae4c6be9d8b0701761c839771116bca6ea3",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-8713710c",
"signature_type": "Function"
},
{
"target": {
"file": "drivers/iommu/intel/iommu.c",
"function": "si_domain_init"
},
"digest": {
"function_hash": "323462090816525474021414833234927914886",
"length": 959.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d74196bb278b8f8af88e16bd595997dfa3d6fdb0",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-95c395a9",
"signature_type": "Function"
},
{
"target": {
"file": "drivers/iommu/intel-iommu.c",
"function": "si_domain_init"
},
"digest": {
"function_hash": "23690395222727804000407365620532333843",
"length": 580.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@749bea542b67513e99240dc58bbfc099e842d508",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-a02fad63",
"signature_type": "Function"
},
{
"target": {
"file": "drivers/iommu/intel-iommu.c"
},
"digest": {
"line_hashes": [
"287947484889912924370707294023054732000",
"76294417578593916208751336663861866626",
"205299099564884622216972339284597945350",
"124490658237219482421300214960877660700",
"322007327115218112103695121815088944724",
"119908653958275790070974947940178992228",
"177774582594682076742980272473454294000",
"213033544137705801324606493829173517755"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@749bea542b67513e99240dc58bbfc099e842d508",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-ad5c9fa7",
"signature_type": "Line"
},
{
"target": {
"file": "drivers/iommu/intel/iommu.c"
},
"digest": {
"line_hashes": [
"287947484889912924370707294023054732000",
"76294417578593916208751336663861866626",
"205299099564884622216972339284597945350",
"89309293257167919351874034702657683549",
"322007327115218112103695121815088944724",
"224327215022154312785492017858756065469",
"277514919125161699391981421912143184952",
"86031789301288974578876030872251644557"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4ad3ae4c6be9d8b0701761c839771116bca6ea3",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-b031b179",
"signature_type": "Line"
},
{
"target": {
"file": "drivers/iommu/intel-iommu.c",
"function": "init_dmars"
},
"digest": {
"function_hash": "233692072891561831355247048491872578661",
"length": 2820.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@724483b585a1b1e063d42ac5aa835707ff2ec165",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-e9686f75",
"signature_type": "Function"
},
{
"target": {
"file": "drivers/iommu/intel/iommu.c",
"function": "init_dmars"
},
"digest": {
"function_hash": "12277235816664288286272739207245154912",
"length": 2024.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4ad3ae4c6be9d8b0701761c839771116bca6ea3",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-ef5d3022",
"signature_type": "Function"
},
{
"target": {
"file": "drivers/iommu/intel/iommu.c"
},
"digest": {
"line_hashes": [
"287947484889912924370707294023054732000",
"76294417578593916208751336663861866626",
"205299099564884622216972339284597945350",
"89309293257167919351874034702657683549",
"322007327115218112103695121815088944724",
"119908653958275790070974947940178992228",
"177774582594682076742980272473454294000",
"213033544137705801324606493829173517755"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0365d6af75f9f2696e94a0fef24a2c8464c037c8",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-f359235e",
"signature_type": "Line"
},
{
"target": {
"file": "drivers/iommu/intel/iommu.c",
"function": "init_dmars"
},
"digest": {
"function_hash": "169310694269376452927744665469524001883",
"length": 2480.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0365d6af75f9f2696e94a0fef24a2c8464c037c8",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50482-fc261b8a",
"signature_type": "Function"
}
]