Skip to content

SECURITY ISSUE with connector for 2.6.31.y

Philipp Reisner dm-devel linux-fbdev lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7connector: Keep the skb in cn_callback_datadrivers/connector/cn_queue.c drivers/connector/connector.c include/linux/connector.h+10 -100 replies
2/7connector: Provide the sender's credentials to the callbackDocumentation/connector/cn_test.c Documentation/connector/connector.txt drivers/connector/cn_proc.c +8 more+24 -280 replies
3/7connector: Removed the destruct_data callback since it is always kfree_skb()drivers/connector/cn_queue.c drivers/connector/connector.c include/linux/connector.h+5 -130 replies
4/7dm/connector: Only process connector packages from privileged processesdrivers/md/dm-log-userspace-transfer.c+3 -00 replies
5/7dst/connector: Disallow unpliviged users to configure dstdrivers/staging/dst/dcore.c+5 -00 replies
6/7pohmelfs/connector: Disallow unpliviged users to configure pohmelfsdrivers/staging/pohmelfs/config.c+3 -00 replies
7/7uvesafb/connector: Disallow unpliviged users to send netlink packetsdrivers/video/uvesafb.c+3 -00 replies

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by.

PatchEvgeniy PolyakovLars Ellenberg
1/7A-b
2/7A-b
3/7A-b A-b
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] SECURITY ISSUE with connector for 2.6.31.y

The backported edition of the patchset for 2.6.31-stable.

Philipp Reisner (7):
connector: Keep the skb in cn_callback_data
connector: Provide the sender's credentials to the callback
connector: Removed the destruct_data callback since it is always

    kfree_skb()

dm/connector: Only process connector packages from privileged
processes
dst/connector: Disallow unpliviged users to configure dst pohmelfs/connector: Disallow unpliviged users to configure pohmelfs uvesafb/connector: Disallow unpliviged users to send netlink packets

 Documentation/connector/cn_test.c      |    4 +---
 Documentation/connector/connector.txt  |    8 ++++----
 drivers/connector/cn_proc.c            |    3 +--
 drivers/connector/cn_queue.c           |   15 ++++++++++-----
 drivers/connector/connector.c          |   24 +++++++++---------------
 drivers/md/dm-log-userspace-transfer.c |    6 ++++--
 drivers/staging/dst/dcore.c            |    8 ++++++--
 drivers/staging/pohmelfs/config.c      |    6 ++++--
 drivers/video/uvesafb.c                |    6 ++++--
 drivers/w1/w1_netlink.c                |    3 +--
 include/linux/connector.h              |   11 ++++-------
 11 files changed, 48 insertions(+), 46 deletions(-)