![]() 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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
rmnet_data_config.c | ||
rmnet_data_config.h | ||
rmnet_data_handlers.c | ||
rmnet_data_handlers.h | ||
rmnet_data_main.c | ||
rmnet_data_private.h | ||
rmnet_data_stats.c | ||
rmnet_data_stats.h | ||
rmnet_data_trace.h | ||
rmnet_data_vnd.c | ||
rmnet_data_vnd.h | ||
rmnet_map.h | ||
rmnet_map_command.c | ||
rmnet_map_data.c |