Skip to content
Snippets Groups Projects
  1. Mar 13, 2025
  2. Mar 12, 2025
  3. Feb 19, 2025
  4. Feb 12, 2025
    • Anand Kulkarni's avatar
      dsp-kernel: Add attribute and flag checks during map creation · 89e892f0
      Anand Kulkarni authored
      
      A persistence map is expected to hold refs=2 during its creation.
      However, the Fuzzy test can create a persistence map by configuring
      a mismatch between attributes and flags using the KEEP MAP attribute
      and FD NOMAP flags. This sets the map reference count to 1. The user
      then calls fastrpc_internal_munmap_fd to free the map since it
      doesn't check flags, which can cause a use-after-free (UAF) for the
      file map and shared buffer. Add a check to restrict DMA handle
      maps with invalid attributes.
      
      Change-Id: I2f024ef99cc2a0487010504166e3af3433d5302d
      Acked-by: default avatarSantosh <quic_ssakore@quicinc.com>
      Signed-off-by: default avatarAnand Kulkarni <quic_anankulk@quicinc.com>
      (cherry picked from commit 56cd0e3a)
      89e892f0
  5. Nov 27, 2024
  6. Nov 26, 2024
  7. Nov 25, 2024
  8. Nov 22, 2024
  9. Nov 21, 2024
  10. Nov 20, 2024
  11. Nov 19, 2024
  12. Nov 16, 2024
  13. Nov 15, 2024
  14. Nov 14, 2024
    • Uppalamarthi Sowmya's avatar
      clk: qcom: adding emac0 clocks · 9797d85b
      Uppalamarthi Sowmya authored
      
      Enable clock for emac0 passthrough.
      
      Change-Id: Ia2015e237a4d3f7c19c24d8b2d3038297f882464
      Signed-off-by: default avatarUppalamarthi Sowmya <quic_usowmya@quicinc.com>
      9797d85b
    • Chris Goldsworthy's avatar
      soc: qcom: mem-hooks: Register hook for android_rvh_try_fixup_sea · bb6d7795
      Chris Goldsworthy authored
      
      path_lookupat() is capable of safely reading unmapped VAs, by using
      load_unaligned_zeropad(). If an unmapped VA is read whilst the
      function is being called, that resulting page fault will get
      re-directed to __do_page_fault(), which will call fixup_exception() to
      handle the aforementioned unmapped-VA-read.
      
      Now consider some memory was still mapped at S1 but lent to another
      Gunyah VM. path_lookupat() can then use load_unaligned_zeropad() on a
      page that virtually borders - in the S1 VA space - the page that was
      lent to the other VM, and end up trying to read content from that
      page. Gunyah will then inject an syncrhonous external abort for a PTW
      fault, which will map to do_sea(). Register a callback for
      trace_android_rvh_try_fixup_sea(), which returns true if we can
      attempt a fixup_exception() call in do_sea() to zero-pad the read to
      the page that was lent away.
      
      Change-Id: I30a85d33f6c52d902275a178191cd47a2336658a
      Signed-off-by: default avatarChris Goldsworthy <quic_cgoldswo@quicinc.com>
      bb6d7795
  15. Nov 13, 2024
  16. Nov 12, 2024
  17. Nov 07, 2024
  18. Nov 06, 2024
  19. Nov 04, 2024
Loading