s390/pkey: Use kfree_sensitive() to fix Coccinelle warnings
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 |
|
|
6.1.1916.9.96.10In the Linux kernel, the following vulnerability has been resolved:
s390/pkey: Use kfree_sensitive() to fix Coccinelle warnings
Replace memzero_explicit() and kfree() with kfree_sensitive() to fix warnings reported by Coccinelle:
WARNING opportunity for kfree_sensitive/kvfree_sensitive (line 1506) WARNING opportunity for kfree_sensitive/kvfree_sensitive (line 1643) WARNING opportunity for kfree_sensitive/kvfree_sensitive (line 1770)
From the CVE record · Linux
The Linux kernel’s s390/pkey component used memzero_explicit() followed by kfree() where kfree_sensitive() is now used. The input does not describe what an attacker could do or specify access, authentication, or user-interaction conditions.
Engineers running Linux kernels with the s390/pkey component should check their versions; affected versions are not specified.