[lkml]   [2017]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH net] RDS: Check cmsg_len before dereferencing CMSG_DATA
From: Avinash Repaka <>
Date: Thu, 21 Dec 2017 20:17:04 -0800

> RDS currently doesn't check if the length of the control message is
> large enough to hold the required data, before dereferencing the control
> message data. This results in following crash:
> To fix this, we verify that the cmsg_len is large enough to hold the
> data to be read, before proceeding further.
> Reported-by: syzbot <>
> Signed-off-by: Avinash Repaka <>

Applied and queued up for -stable, thanks.

 \ /
  Last update: 2017-12-27 16:38    [W:0.048 / U:6.368 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site