Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1288388

Re: [PATCH] X.509: Fix the time validation [ver #3]

From Alexander Holler <holler@ahsoftware.de>
Newsgroups linux.kernel
Subject Re: [PATCH] X.509: Fix the time validation [ver #3]
Date 2015-12-10 10:30 +0100
Message-ID <qE5HY-4fH-9@gated-at.bofh.it> (permalink)
References <qtYoq-8hK-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Am 12.11.2015 um 12:38 schrieb David Howells:
> This fixes CVE-2015-5327.  It affects kernels from 4.3-rc1 onwards.
>
> Fix the X.509 time validation to use month number-1 when looking up the
> number of days in that month.  Also put the month number validation before
> doing the lookup so as not to risk overrunning the array.

I've just run into this with 4.3.1 (mon_len ended up with 0 because of 
the wrong index). Which means currently build stable kernels with 
signature verification might not load modules (depending on which value 
the invalid index mon_len (12) ends up with.

Regards,

Alexander Holler

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH] X.509: Fix the time validation [ver #3] Alexander Holler <holler@ahsoftware.de> - 2015-12-10 10:30 +0100
  Re: [PATCH] X.509: Fix the time validation [ver #3] Alexander Holler <holler@ahsoftware.de> - 2015-12-10 16:20 +0100
    Re: [PATCH] X.509: Fix the time validation [ver #3] Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-10 16:30 +0100
      Re: [PATCH] X.509: Fix the time validation [ver #3] Alexander Holler <holler@ahsoftware.de> - 2015-12-10 16:40 +0100
        Re: [PATCH] X.509: Fix the time validation [ver #3] Alexander Holler <holler@ahsoftware.de> - 2015-12-10 19:10 +0100
          Re: [PATCH] X.509: Fix the time validation [ver #3] Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-10 19:10 +0100
            Re: [PATCH] X.509: Fix the time validation [ver #3] Alexander Holler <holler@ahsoftware.de> - 2015-12-10 19:30 +0100
      Re: [PATCH] X.509: Fix the time validation [ver #3] David Howells <dhowells@redhat.com> - 2015-12-11 12:20 +0100
        Re: [PATCH] X.509: Fix the time validation [ver #3] Josh Boyer <jwboyer@fedoraproject.org> - 2015-12-11 13:40 +0100

csiph-web