Skip to content
Permalink
Tree: f75e4cfea9
Commits on May 22, 2019
  1. replace kmsan_check_urb() with kmsan_handle_urb()

    ramosian-glider committed May 22, 2019
    Treat USB inputs as initialized data.
Commits on May 17, 2019
Commits on May 16, 2019
  1. selinux: Check address length before reading address family

    Tetsuo Handa authored and ramosian-glider committed Apr 12, 2019
    KMSAN will complain if valid address length passed to bind()/connect() is
    shorter than sizeof("struct sockaddr"->sa_family) bytes.
    
    Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
    Signed-off-by: Paul Moore <paul@paul-moore.com>
  2. Smack: Fix kbuild reported build error

    cschaufler authored and ramosian-glider committed Apr 30, 2019
    The variable sap is defined under ifdef, but a recently
    added use of the variable was not. Put that use under ifdef
    as well.
    
    Reported-by: kbuild test robot <lkp@intel.com>
    Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
  3. smack: Check address length before reading address family

    Tetsuo Handa authored and ramosian-glider committed Apr 12, 2019
    KMSAN will complain if valid address length passed to bind()/connect()/
    sendmsg() is shorter than sizeof("struct sockaddr"->sa_family) bytes.
    
    Also, since smk_ipv6_port_label()/smack_netlabel_send()/
    smack_ipv6host_label()/smk_ipv6_check()/smk_ipv6_port_check() are not
    checking valid address length and/or address family, make sure we check
    both. The minimal valid length in smack_socket_connect() is changed from
    sizeof(struct sockaddr_in6) bytes to SIN6_LEN_RFC2133 bytes, for it seems
    that Smack is not using "struct sockaddr_in6"->sin6_scope_id field.
    
    Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
    Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
  4. tomoyo: Check address length before reading address family

    Tetsuo Handa authored and ramosian-glider committed Apr 12, 2019
    KMSAN will complain if valid address length passed to bind()/connect()/
    sendmsg() is shorter than sizeof("struct sockaddr"->sa_family) bytes.
    
    Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
    Signed-off-by: James Morris <jamorris@linux.microsoft.com>
Commits on May 15, 2019
  1. vhost, kcov: annotate vhost_worker

    xairy authored and ramosian-glider committed Jan 17, 2019
    Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
  2. usb, kcov: annotate hub_event

    xairy authored and ramosian-glider committed Jan 17, 2019
    Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
  3. kcov: remote coverage support

    xairy authored and ramosian-glider committed Jan 17, 2019
    Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
  4. kmsan: fix metadata_is_contiguous()

    ramosian-glider committed Apr 8, 2019
    For n-byte accesses to |addr| we used to check bytes from |addr| to
    |addr+n|, which sometimes hit unmapped memory.
    Fix this by subtracting 1 from the size.
    
    Also fix some compiler warnings in kmsan.c
  5. kmsan: don't enter runtime in kmsan_vmap_page_range_noflush()

    ramosian-glider committed Apr 4, 2019
    Turns out one can't flush TLBs with interrupts disabled.
  6. kmsan: support for vmap in modules region

    ramosian-glider committed Apr 4, 2019
    Let KMSAN vmap shadow and origins for
    [MODULES_VADDR, MODULES_VADDR+MODULES_LEN) at MODULES_SHADOW_START and MODULES_ORIGIN_START
    
    Also, make sure page tables for vmalloc/modules metadata are properly
    synced on every page fault.
  7. kmsan: don't unpoison memory in dma_map_sg_attrs()

    ramosian-glider committed Mar 27, 2019
    Looks like we don't need to do that anymore.
  8. fix compilation?

    ramosian-glider committed Mar 25, 2019
  9. kmsan: drop an unnecessary call to kmsan_free_page()

    ramosian-glider committed Mar 22, 2019
    It's being already called from kmem_freepages() via __free_pages()
  10. kmsan: more casts

    ramosian-glider committed Mar 19, 2019
Older
You can’t perform that action at this time.