aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorMatan Barak <[email protected]>2018-02-13 12:18:35 +0200
committerJason Gunthorpe <[email protected]>2018-02-15 14:59:46 -0700
commit4d39a959bc1f3d164b5a54147fdeb19f84b1ed58 (patch)
tree394a96ddf6867a6435398f840d310802fc4a0bbb /scripts/gdb/linux/lists.py
parent9dfb2ff400f6c0a52f63014b5331b64ee7bd5c19 (diff)
IB/uverbs: Fix possible oops with duplicate ioctl attributes
If the same attribute is listed twice by the user in the ioctl attribute list then error unwind can cause the kernel to deref garbage. This happens when an object with WRITE access is sent twice. The second parse properly fails but corrupts the state required for the error unwind it triggers. Fixing this by making duplicates in the attribute list invalid. This is not something we need to support. The ioctl interface is currently recommended to be disabled in kConfig. Signed-off-by: Matan Barak <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions