--- zzzz-none-000/linux-4.1.38/fs/proc/proc_sysctl.c 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/fs/proc/proc_sysctl.c 2020-11-25 10:06:48.000000000 +0000 @@ -703,7 +703,12 @@ ctl_dir = container_of(head, struct ctl_dir, header); if (!dir_emit_dots(file, ctx)) +#if defined(CONFIG_BCM_KF_MISC_BACKPORTS) +/*CVE-2016-9191 */ + goto out; +#else return 0; +#endif pos = 2; @@ -713,6 +718,9 @@ break; } } +#if defined(CONFIG_BCM_KF_MISC_BACKPORTS) +out: +#endif sysctl_head_finish(head); return 0; }