commit | 799f17b52a35aabaed4852c9788fc28ccc88bfe3 | [log] [tgz] |
---|---|---|
author | Kyle Swenson <kyle.swenson@est.tech> | Tue May 18 15:05:45 2021 -0600 |
committer | Kyle Swenson <kyle.swenson@est.tech> | Thu Oct 26 15:21:29 2023 -0600 |
tree | cfefa669da5d81b8edf0794801af3d6270656275 | |
parent | 2826c4a0e5acc996fb9ec130fe4b134020c3c6af [diff] |
pse: fix slab-out-of-bounds read of size 1 KASAN reported a slab-out-of-bound read of size 1 when userspace wrote the port priority to /sys/class/pse/port_priority. This patch fixes the out-of-bound read as well makes the interface a little more robust against invalid input. Change-Id: I17a35ba1abb4c1e5b8222e6502534554580c0e58