On Mon, Feb 08, 2021 at 09:24:11AM +0000, Schmid, Carsten wrote: > >> Hi Greg, > >> > >> in kernel 4.14 i have seen a NULL pointer deref in > >> [65064.613465] RIP: 0010:ip_route_output_key_hash_rcu+0x755/0x850 > >> (i have a core dump and detailed analysis) > >> > >> That looks like this patch could have prevented it: > >> > >> https://www.spinics.net/lists/stable-commits/msg133055.html > >> > >> this one was queued for 4.14, but i can't find it in git tree? > >> Any idea who/what buried this one? > >> > >> In 4.19 it is present. > >> > >> Because our customer uses 4.14 (going to 4.14.212 in a few days) i kindly > >> want to > >> ask why this patch hasn't entered 4.14. > > > > Because it breaks the build? Try it yourself and see what happens :) > > yep. rt_add_uncached_list is implemented _after_ the call :-( > > > > > I will gladly take a working backport if you can submit it. > > > Please find it attached - i needed to move rt_add_uncached_list before > the rt_cache_route, nothing else changed. > This is for 4.14 only, as other kernels do have this patch. > > I can't reproduce the crash at will, but at least i could compile and flash > it on my target. > And the target comes up .. hopefully the testing in other/newer kernels > done by the developers of the patch is also valid for 4.14.
Thanks, now queued up. greg k-h