android_kernel_lge_bullhead/net/rmnet_data
Subash Abhinov Kasiviswanathan d3d680c3b8 net: rmnet_data: Fix incorrect netlink handling
rmnet_data netlink handler currently does not check for the
incoming process pid and instead just loops back the pid.
A malicious root user could potentially send a message with
source pid 0 and this could cause rmnet_data to loop the message
back till an out of memory situation occurs.

rmnet_data also does not check for the message length of the
incoming netlink messages and instead casts the netlink message
without checking for the boundary.

Fix these two scenarios by adding the pid and message length checks
respectively.

Bug: 31252965
CRs-Fixed: 1098801
Change-Id: I172c1a7112e67e82959b397af7ddfd963d819bdc
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
2017-01-19 06:16:16 +00:00
..
Kconfig
Makefile net: rmnet_data: Add support for ftrace events 2014-02-10 18:53:27 -07:00
rmnet_data_config.c net: rmnet_data: Fix incorrect netlink handling 2017-01-19 06:16:16 +00:00
rmnet_data_config.h net: rmnet_data: Further optimize UL aggregation accumulation 2014-12-18 08:35:29 -07:00
rmnet_data_handlers.c net: rmnet_data: add support for UL MAP based checksum offload 2014-11-24 10:07:31 +02:00
rmnet_data_handlers.h
rmnet_data_main.c net: rmnet_data: Add support for ftrace events 2014-02-10 18:53:27 -07:00
rmnet_data_private.h net: rmnet_data: Add default value for tx_queue_len 2014-01-31 10:24:30 -07:00
rmnet_data_stats.c net: rmnet_data: add support for UL MAP based checksum offload 2014-11-24 10:07:31 +02:00
rmnet_data_stats.h net: rmnet_data: Further optimize UL aggregation accumulation 2014-12-18 08:35:29 -07:00
rmnet_data_trace.h net: rmnet_data: Add trace points for device force unassociation 2014-12-30 13:35:56 -07:00
rmnet_data_vnd.c net: rmnet_data: Reduce log level for unsupported IOCTLs 2015-09-14 19:56:42 +00:00
rmnet_data_vnd.h net: rmnet_data: Clear VNDs upon physical device unregistration 2014-04-01 08:53:44 -06:00
rmnet_map.h net: rmnet_data: add support for UL MAP based checksum offload 2014-11-24 10:07:31 +02:00
rmnet_map_command.c net: rmnet_data: Move MAP header definition to UAPI 2014-06-23 07:45:21 -06:00
rmnet_map_data.c net: rmnet_data: Further optimize UL aggregation accumulation 2014-12-18 08:35:29 -07:00