net: wwan: iosm: Fix tainted pointer delete is case of region creation fail
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: wwan: iosm: Fix tainted pointer delete is case of region creation fail
In case of region creation fail in ipc_devlink_create_region(), previously created regions delete process starts from tainted pointer which actually holds error code value. Fix this bug by decreasing region index before delete.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
From the CVE record · Linux
The Linux kernel’s iosm WWAN driver can attempt to delete a region through a pointer holding an error code if region creation fails. The input does not establish whether an attacker can trigger this failure or specify access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the iosm WWAN driver should check their systems; affected versions are not specified.