diff options
| author | Dmitry Antipov <[email protected]> | 2024-07-08 11:56:15 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-07-11 09:00:08 +0000 |
| commit | f2aeb7306a898e1cbd03963d376f4b6656ca2b55 (patch) | |
| tree | 8d4f52f32b4bb74e867816069672048e5d6b1f9c /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
| parent | net: ethernet: mtk-star-emac: set mac_managed_pm when probing (diff) | |
| download | kernel-f2aeb7306a898e1cbd03963d376f4b6656ca2b55.tar.gz kernel-f2aeb7306a898e1cbd03963d376f4b6656ca2b55.zip | |
ppp: reject claimed-as-LCP but actually malformed packets
Since 'ppp_async_encode()' assumes valid LCP packets (with code
from 1 to 7 inclusive), add 'ppp_check_packet()' to ensure that
LCP packet has an actual body beyond PPP_LCP header bytes, and
reject claimed-as-LCP but actually malformed data otherwise.
Reported-by: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=ec0723ba9605678b14bf
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Dmitry Antipov <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions
