← CVE Intelligence

CVE-2021-47121

net: caif: fix memory leak in cfusbl_device_notify PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: net: caif: fix memory leak in cfusbl_device_notify In case of caif_enroll_dev() fail, allocated link_support won't be assigned to the corresponding structure. So simply free allocated pointer in case of error.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 7ad65bf68d705b445ef10b77ab50dab22be185ee before cc302e30a504e6b60a9ac8df7988646f46cd0294; affected 7ad65bf68d705b445ef10b77ab50dab22be185ee before 81afc61cb6e2b553f2c5f992fa79e0ae73857141; affected 7ad65bf68d705b445ef10b77ab50dab22be185ee before e8b37f5009ea7095529790f022859711e6939c76; affected 7ad65bf68d705b445ef10b77ab50dab22be185ee before 9ea0ab48e755d8f29fe89eb235fb86176fdb597f; affected 7ad65bf68d705b445ef10b77ab50dab22be185ee before 4d94f530cd24c85aede6e72b8923f371b45d6886; affected 7ad65bf68d705b445ef10b77ab50dab22be185ee before 46403c1f80b0d3f937ff9c4f5edc63bb64bc5051; affected 7ad65bf68d705b445ef10b77ab50dab22be185ee before dde8686985ec24d6b00487080a906609bd613ea1; affected 7ad65bf68d705b445ef10b77ab50dab22be185ee before 7f5d86669fa4d485523ddb1d212e0a2d90bd62bb
Linux / Linuxaffected 3.3; unaffected 0 before 3.3; unaffected 4.4.272 through 4.4.*; unaffected 4.9.272 through 4.9.*; unaffected 4.14.236 through 4.14.*; unaffected 4.19.194 through 4.19.*; unaffected 5.4.125 through 5.4.*; unaffected 5.10.43 through 5.10.*; unaffected 5.12.10 through 5.12.*; unaffected 5.13 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.