diff options
| author | Thomas Weißschuh <[email protected]> | 2024-07-09 20:37:24 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2024-08-02 14:44:22 +0000 |
| commit | 4bb1e7d027413835b086aed35bc3f0713bc0f72b (patch) | |
| tree | ecaab6e92dd5b05c106bb2bad7bda5e2934df5e9 /security/selinux/hooks.c | |
| parent | Linux 6.11-rc1 (diff) | |
| download | kernel-4bb1e7d027413835b086aed35bc3f0713bc0f72b.tar.gz kernel-4bb1e7d027413835b086aed35bc3f0713bc0f72b.zip | |
ACPI: sysfs: validate return type of _STR method
Only buffer objects are valid return values of _STR.
If something else is returned description_show() will access invalid
memory.
Fixes: d1efe3c324ea ("ACPI: Add new sysfs interface to export device description")
Cc: All applicable <[email protected]>
Signed-off-by: Thomas Weißschuh <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
