openwrt-redmi-ax3000/package/kernel/lantiq
Hauke Mehrtens 2a76abc544 ltq-ptm: Fix unprivileged local user memory read and write
Use the copy_from_user() and copy_to_user() functions for accessing
memory provided by the user in the ptm netdev iotls.
In addition also check for root permission before executing ioctl.

Suggested-by: Stanislav Fort from Aisle Research
Reported-by: Stanislav Fort from Aisle Research
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-10-18 00:47:29 +02:00
..
ltq-adsl ltq-adsl: silence missing-prototypes warnings 2025-05-13 22:02:20 +02:00
ltq-adsl-fw
ltq-adsl-mei ltq-adsl-mei: check status register before reading mailbox messages 2025-07-17 21:10:37 +02:00
ltq-atm ltq-atm: fix missing-prototypes warnings for lantiq/ase 2025-05-13 22:02:20 +02:00
ltq-deu treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
ltq-ifxos ltq-ifxos: fix missing-prototypes build warning 2025-05-13 22:02:19 +02:00
ltq-ptm ltq-ptm: Fix unprivileged local user memory read and write 2025-10-18 00:47:29 +02:00
ltq-tapi ltq-tapi: fix missing-prototypes build warnings 2025-05-13 22:02:19 +02:00
ltq-vdsl-fw treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
ltq-vdsl-vr9 ltq-vdsl-vr9: fix missing-prototypes warnings 2025-05-13 22:02:20 +02:00
ltq-vdsl-vr9-mei ltq-vdsl-vr9-mei: fix missing prototypes warnings 2025-05-13 22:02:20 +02:00
ltq-vdsl-vr11 ltq-vdsl-vr11: fix missing-prototypes build warnings 2025-05-13 22:02:19 +02:00
ltq-vdsl-vr11-mei ltq-vdsl-vr11-mei: fix ignored-qualifiers build warnings 2025-05-13 22:02:19 +02:00
ltq-vectoring lantiq/xrx200: move 8M flash devices to a small flash subtarget 2024-12-16 00:59:55 +01:00
ltq-vmmc ltq-vmmc: fix 'inline' declaration warning 2025-05-13 22:02:20 +02:00
vrx518_ep vrx518_ep: fix macro redefined build error on 6.12 kernel 2025-05-13 22:02:19 +02:00
vrx518_tc vrx518_tc: fix missing-prototypes build warnings 2025-05-13 22:02:19 +02:00